mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-05 18:57:54 +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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user