mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-18 21:48:12 +08:00
[Analyzers] Disable CA1854
This commit is contained in:
parent
ffbc981029
commit
de0f8a7bc2
@ -113,6 +113,9 @@ dotnet_diagnostic.CA1309.severity = suggestion
|
||||
# CS1615: Argument may not be passed with the ref keyword
|
||||
dotnet_diagnostic.CS1615.severity = none
|
||||
|
||||
# CA1854: Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup
|
||||
dotnet_diagnostic.CS1854.severity = suggestion
|
||||
|
||||
# CA1860: Avoid using 'Enumerable.Any()' extension method
|
||||
dotnet_diagnostic.CA1860.severity = suggestion
|
||||
|
||||
@ -138,4 +141,4 @@ dotnet_diagnostic.CA1869.severity = none
|
||||
dotnet_diagnostic.CA2208.severity = none
|
||||
|
||||
# CS9191: The 'ref' modifier for argument corresponding to 'in' is equivalent to 'in'. Consider using 'in' instead.
|
||||
dotnet_diagnostic.CS9191.severity = none
|
||||
dotnet_diagnostic.CS9191.severity = none
|
||||
|
Loading…
Reference in New Issue
Block a user