Skip to content

Commit

Permalink
Merge pull request dotnet#19259 from sharwell/concurrent-analyzer
Browse files Browse the repository at this point in the history
Allow the Simplify Type Names analyzer to run concurrently
  • Loading branch information
sharwell authored May 10, 2017
2 parents c16e998 + 5d02788 commit b68f678
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ public bool OpenFileOnly(Workspace workspace)
public sealed override void Initialize(AnalysisContext context)
{
context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None);
context.EnableConcurrentExecution();

context.RegisterSyntaxNodeAction(AnalyzeNode, _kindsOfInterest);
}

Expand Down

0 comments on commit b68f678

Please sign in to comment.