Skip to content

Commit 25520b1

Browse files
stephentoubjkotas
authored andcommitted
Disable another static analysis rule (dotnet/corefx#42265)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
1 parent 1a3eefd commit 25520b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/System.Private.CoreLib/shared/CodeAnalysis.ruleset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<Rule Id="CA1822" Action="None" /> <!-- Mark members as static -->
5353
<Rule Id="CA1827" Action="None" /> <!-- Do not use Count() when Any() can be used -->
5454
<Rule Id="CA2000" Action="None" /> <!-- Dispose objects before losing scope -->
55+
<Rule Id="CA2002" Action="None" /> <!-- Do not lock on objects with weak identity -->
5556
<Rule Id="CA2010" Action="None" /> <!-- Always consume the value returned by methods marked with PreserveSigAttribute -->
5657
<Rule Id="CA2100" Action="None" /> <!-- Review SQL queries for security vulnerabilities -->
5758
<Rule Id="CA2101" Action="None" /> <!-- Specify marshaling for P/Invoke string arguments -->

0 commit comments

Comments
 (0)