Skip to content

Commit 4ddeff5

Browse files
authored
因为已经不存在 ValueTuple,所以无需生成
1 parent a929509 commit 4ddeff5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/dotnetCampus.LatestCSharpFeatures.Analyzer/FeatureGenerator.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using dotnetCampus.LatestCSharpFeatures.Analyzer;
1+
using dotnetCampus.LatestCSharpFeatures.Analyzer;
22

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

2020
private void OnExecute(SourceProductionContext context, AnalyzerConfigOptionsProvider provider)
2121
{
22-
// .NET Core 1.0 / .NET Framework 4.7 / .NET Standard 2.0 才开始支持 ValueTuple。
23-
GenerateFeatureSource(context, provider, "ValueTuple");
24-
2522
// .NET Core 3.0 / .NET Standard 2.1 才开始支持 Nullable;.NET 5.0 开始支持更多。
2623
GenerateFeatureSource(context, provider, "Nullable");
2724

0 commit comments

Comments
 (0)