Ignore CA1822 for aspnetcore (#16544)

This commit is contained in:
Matt Thalman 2023-05-31 16:42:52 -05:00 committed by GitHub
parent aca8cbc211
commit 9ca0464b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,11 +27,13 @@
<!-- CA1512 - Use 'ArgumentOutOfRangeException.ThrowIfEqual' <!-- CA1512 - Use 'ArgumentOutOfRangeException.ThrowIfEqual'
Requires https://github.com/dotnet/aspnetcore/issues/47673 --> Requires https://github.com/dotnet/aspnetcore/issues/47673 -->
<!-- CA1822 - Mark members as static
https://github.com/dotnet/aspnetcore/pull/48551 -->
<!-- CA1854 - Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method <!-- CA1854 - Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method
https://github.com/dotnet/aspnetcore/issues/48052 --> https://github.com/dotnet/aspnetcore/issues/48052 -->
<!-- IDE0005 - Using directive is unnecessary: https://github.com/dotnet/aspnetcore/issues/47932 --> <!-- IDE0005 - Using directive is unnecessary: https://github.com/dotnet/aspnetcore/issues/47932 -->
<!-- IDE0059 - Unnecessary assignment of a value: https://github.com/dotnet/aspnetcore/pull/47931 --> <!-- IDE0059 - Unnecessary assignment of a value: https://github.com/dotnet/aspnetcore/pull/47931 -->
<RepoNoWarns>CA1512;CA1854;IDE0005;IDE0059</RepoNoWarns> <RepoNoWarns>CA1512;CA1822;CA1854;IDE0005;IDE0059</RepoNoWarns>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>