Skip to content
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

Merged
merged 2 commits into from Jun 25, 2021

Conversation

Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Dec 8, 2020

Non-breaking change, just makes existing behaviour explicit.

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309

@msftbot
Copy link

@msftbot msftbot bot commented Dec 18, 2020

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

Loading

@xtqqczze xtqqczze closed this Jun 23, 2021
@xtqqczze xtqqczze reopened this Jun 23, 2021
@xtqqczze xtqqczze closed this Jun 23, 2021
@xtqqczze xtqqczze reopened this Jun 23, 2021
@iSazonov iSazonov requested review from PaulHigin and TravisEz13 Jun 24, 2021
Copy link
Collaborator

@PaulHigin PaulHigin left a comment

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.

Loading

@xtqqczze xtqqczze closed this Jun 24, 2021
@xtqqczze xtqqczze reopened this Jun 24, 2021
vexx32
vexx32 approved these changes Jun 24, 2021
@iSazonov iSazonov merged commit a3366b8 into PowerShell:master Jun 25, 2021
37 checks passed
Loading
@msftbot msftbot bot removed the Review - Needed label Jun 25, 2021
@iSazonov iSazonov added this to the 7.2.0-preview.8 milestone Jun 25, 2021
@xtqqczze xtqqczze deleted the CA1309-p1 branch Jun 25, 2021
@xtqqczze
Copy link
Contributor Author

@xtqqczze xtqqczze commented Jun 25, 2021

Contributes to #15669.

Loading

@msftbot
Copy link

@msftbot msftbot bot commented Jul 22, 2021

🎉v7.2.0-preview.8 has been released which incorporates this pull request.🎉

Handy links:

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment