diff --git a/src/dotnetCampus.LatestCSharpFeatures.Analyzer/FeatureGenerator.cs b/src/dotnetCampus.LatestCSharpFeatures.Analyzer/FeatureGenerator.cs index 99a2468..40f2fff 100644 --- a/src/dotnetCampus.LatestCSharpFeatures.Analyzer/FeatureGenerator.cs +++ b/src/dotnetCampus.LatestCSharpFeatures.Analyzer/FeatureGenerator.cs @@ -1,4 +1,4 @@ -using dotnetCampus.LatestCSharpFeatures.Analyzer; +using dotnetCampus.LatestCSharpFeatures.Analyzer; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; @@ -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");