New issue
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
Fix CA1309: Use ordinal StringComparison in CertificateProvider #14352
Conversation
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the documentation, the default string compare is ordinal. But I think it makes sense to explicitly set the Comparer to make intention clear.
Contributes to #15669. |
🎉 Handy links: |
Non-breaking change, just makes existing behaviour explicit.
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309