diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-08 00:32:19 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-08 00:32:19 -0400 |
commit | a4c6c6168405bb0441a40e4f6f4e86dfa46a76b2 (patch) | |
tree | 76c394722fe12c8a85687d8ad0b5c36d794c8483 /src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs | |
parent | 976c66537c9f4493ce859c574675bb8651b5323f (diff) | |
download | SMAPI-a4c6c6168405bb0441a40e4f6f4e86dfa46a76b2.tar.gz SMAPI-a4c6c6168405bb0441a40e4f6f4e86dfa46a76b2.tar.bz2 SMAPI-a4c6c6168405bb0441a40e4f6f4e86dfa46a76b2.zip |
enable parallel analyzer execution
Diffstat (limited to 'src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs')
-rw-r--r-- | src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs b/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs index d071f0c1..722d5227 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs @@ -56,6 +56,9 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer /// <param name="context">The analysis context.</param> public override void Initialize(AnalysisContext context) { + context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.Analyze | GeneratedCodeAnalysisFlags.ReportDiagnostics); + context.EnableConcurrentExecution(); + context.RegisterSyntaxNodeAction( this.AnalyzeObsoleteFields, SyntaxKind.SimpleMemberAccessExpression, |