We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scan for CA1307: Specify StringComparison for clarity CA1309: Use ordinal StringComparison and fix tests
more detail on https://docs.microsoft.com/en-us/dotnet/standard/base-types/string-comparison-net-5-plus
The text was updated successfully, but these errors were encountered:
The simplest way is to add analyzers
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> </PackageReference>
and suppress everything we don't need in editorconfig
dotnet_diagnostic.csXXXX.severity=none
Sorry, something went wrong.
With .NET 5 btw you don’t even need the NuGet :)
I am not sure what exactly the library should do. In most cases you do want the current culture.
Fix .NET analyzer warnings. Close #125.
d88f2bc
ig-sinicyn
Successfully merging a pull request may close this issue.
Scan for
CA1307: Specify StringComparison for clarity
CA1309: Use ordinal StringComparison
and fix tests
more detail on https://docs.microsoft.com/en-us/dotnet/standard/base-types/string-comparison-net-5-plus
The text was updated successfully, but these errors were encountered: