Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2020-02-26 19:33:53 +0300
committerGitHub <noreply@github.com>2020-02-26 19:33:53 +0300
commit864b84f6af5e6efa180fe0540c47356801efdd7b (patch)
treec5db97756e8a324d833ea87aee21dc07fc1d5068 /eng/CodeAnalysis.ruleset
parent8ddc3e11454b1f4cd4df27003d1bbfbb1212e9d1 (diff)
Re-disable CA2010 (#32872)
Apparently there were missed warnings that are now being treated as errors due to a PR that raced with mine yesterday to update the CodeAnalysis.ruleset file.
Diffstat (limited to 'eng/CodeAnalysis.ruleset')
-rw-r--r--eng/CodeAnalysis.ruleset2
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/CodeAnalysis.ruleset b/eng/CodeAnalysis.ruleset
index adb413b78cf..e2c3f716005 100644
--- a/eng/CodeAnalysis.ruleset
+++ b/eng/CodeAnalysis.ruleset
@@ -95,7 +95,7 @@
<Rule Id="CA2007" Action="Warning" /> <!-- Consider calling ConfigureAwait on the awaited task -->
<Rule Id="CA2008" Action="Warning" /> <!-- Do not create tasks without passing a TaskScheduler -->
<Rule Id="CA2009" Action="Warning" /> <!-- Do not call ToImmutableCollection on an ImmutableCollection value -->
- <Rule Id="CA2010" Action="Warning" /> <!-- Always consume the value returned by methods marked with PreserveSigAttribute -->
+ <Rule Id="CA2010" Action="None" /> <!-- Always consume the value returned by methods marked with PreserveSigAttribute -->
<Rule Id="CA2011" Action="Warning" /> <!-- Avoid infinite recursion -->
<Rule Id="CA2012" Action="Warning" /> <!-- Use ValueTasks correctly -->
<Rule Id="CA2100" Action="None" /> <!-- Review SQL queries for security vulnerabilities -->