Skip to content

StringComparison.InvariantCulture/InvariantCultureIgnoreCase are missing from System.Runtime Reference Assembly #17752

@xyziemba

Description

@xyziemba

InvariantCulture and InvairantCultureIgnoreCase aren't present on System.StringComparison, but appear to be implemented and used in tests. I would expect them to be present, but perhaps this is an intentional omission for some reason I don't understand?

StringComparison def: https://github.com/dotnet/corefx/blob/72f546c30e61b485546d7c5c0397b8ccc406efa4/src/System.Runtime/ref/System.Runtime.cs#L1626

Code using InvariantCulture/InvariantCultureIgnoreCase by casting an int:
https://github.com/dotnet/corefx/blob/72f546c30e61b485546d7c5c0397b8ccc406efa4/src/System.Runtime/tests/System/StringTests.cs#L433

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions