-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
StringComparison.InvariantCulture/InvariantCultureIgnoreCase are missing from System.Runtime Reference Assembly #17752
Comments
These were not included in Core because of the following reason
However, we will bring these back for compatibility with existing code. |
Completed - dotnet/corefx#10019 merged. |
…FSharpLu Replaced `StringComparison.InvariantCultureIgnoreCase` by `StringComparison.OrdinalIgnoreCase` See https://github.com/dotnet/corefx/issues/9801 dotnet/corefx#10019 Move out from FSharpLu all the NETFramework specific helpers: ConsoleTraceListener, Security impersonation. Moved them instead into a new package `Microsoft.FSharpLu.Windows`
…FSharpLu FsharpLu targets netstandard2.0;net452;net461 FsharpLu.Json targets netstandard1.6;netstandard2.0;net452;net461 FSharpLu.Tests targets netstandard2.0;net452;net461 Replaced `StringComparison.InvariantCultureIgnoreCase` by `StringComparison.OrdinalIgnoreCase` See https://github.com/dotnet/corefx/issues/9801 dotnet/corefx#10019 Move out from FSharpLu all the NETFramework specific helpers: ConsoleTraceListener, Security impersonation. Moved them instead into a new package `Microsoft.FSharpLu.Windows`
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
The text was updated successfully, but these errors were encountered: