Methods in CorString that compare strings in some fashion should do a StringComparison.CurrentCulture by default to align with .NET. Currently they are defaulting to StringComparison.Ordinal.
I should have known since in .NET there is a String.CompareOrdinal method defined. Why have that method and the String.Compare method default to StringComparison.Ordinal which would just be duplicate behavior.
This would be a breaking change in compile and runtime.
Methods in
CorString
that compare strings in some fashion should do aStringComparison.CurrentCulture
by default to align with .NET. Currently they are defaulting toStringComparison.Ordinal
.I should have known since in .NET there is a
String.CompareOrdinal
method defined. Why have that method and theString.Compare
method default toStringComparison.Ordinal
which would just be duplicate behavior.This would be a breaking change in compile and runtime.