Skip to content

Conversation

@vcsjones
Copy link
Member

Switch out List<char> for const string. A static constructor is no longer emitted for this class.

@ghost ghost added the area-System.Security label Jul 30, 2022
@ghost ghost assigned vcsjones Jul 30, 2022
@ghost
Copy link

ghost commented Jul 30, 2022

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones
See info in area-owners.md if you want to be subscribed.

Issue Details

Switch out List<char> for const string. A static constructor is no longer emitted for this class.

Author: vcsjones
Assignees: -
Labels:

area-System.Security

Milestone: -

private static List<byte[]> ParseDistinguishedName(
string stringForm,
List<char> dnSeparators,
string dnSeparators,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing dnSeparators is used for is for calling .Contains(char) which is already ordinal based, so nothing else needed to change for changing to a string.

@stephentoub stephentoub merged commit 2f78734 into dotnet:main Aug 1, 2022
@vcsjones vcsjones deleted the x509-encoder-cctor branch August 1, 2022 13:55
@ghost ghost locked as resolved and limited conversation to collaborators Aug 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants