Skip to content

Commit

Permalink
因为已经不存在 ValueTuple,所以无需生成
Browse files Browse the repository at this point in the history
  • Loading branch information
walterlv authored Apr 27, 2024
1 parent a929509 commit 4ddeff5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using dotnetCampus.LatestCSharpFeatures.Analyzer;
using dotnetCampus.LatestCSharpFeatures.Analyzer;

using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
Expand All @@ -19,9 +19,6 @@ public void Initialize(IncrementalGeneratorInitializationContext context)

private void OnExecute(SourceProductionContext context, AnalyzerConfigOptionsProvider provider)
{
// .NET Core 1.0 / .NET Framework 4.7 / .NET Standard 2.0 才开始支持 ValueTuple。
GenerateFeatureSource(context, provider, "ValueTuple");

// .NET Core 3.0 / .NET Standard 2.1 才开始支持 Nullable;.NET 5.0 开始支持更多。
GenerateFeatureSource(context, provider, "Nullable");

Expand Down

0 comments on commit 4ddeff5

Please sign in to comment.