From 4ddeff5e9c1fd7c26366f5a11e1b88cde87f774d Mon Sep 17 00:00:00 2001 From: walterlv Date: Sat, 27 Apr 2024 16:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=A0=E4=B8=BA=E5=B7=B2=E7=BB=8F=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=20ValueTuple=EF=BC=8C=E6=89=80=E4=BB=A5?= =?UTF-8?q?=E6=97=A0=E9=9C=80=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FeatureGenerator.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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");