Skip to content

Commit

Permalink
Disable VSTHRD010 to improve build performance
Browse files Browse the repository at this point in the history
We are not currently using this analyzer to its full extent since it
requires repository-specific configuration which is not yet provided for
Roslyn. Issue dotnet#29275 tracks configuring and enabling this analyzer.
  • Loading branch information
sharwell committed Sep 13, 2018
1 parent 5ef6468 commit 48a9ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/Rulesets/Roslyn_BuildRules.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ collection.
<Rules AnalyzerId="Microsoft.VisualStudio.Threading.Analyzers" RuleNamespace="Microsoft.VisualStudio.Threading.Analyzers">
<Rule Id="VSTHRD002" Action="None" /> <!-- Avoid problematic synchronous waits -->
<Rule Id="VSTHRD103" Action="None" /> <!-- Call async methods when in an async method -->
<Rule Id="VSTHRD010" Action="None" /> <!-- Invoke single-threaded types on Main thread https://github.com/dotnet/roslyn/issues/29275 -->
<Rule Id="VSTHRD110" Action="None" /> <!-- Observe result of async calls -->
<Rule Id="VSTHRD200" Action="None" /> <!-- Use "Async" suffix for async methods -->
</Rules>
Expand Down

0 comments on commit 48a9ae5

Please sign in to comment.