Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsSortable() [2/4]

static bool System.Globalization.CompareInfo.IsSortable ( ReadOnlySpan< char > text)
inlinestatic

Definition at line 189 of file CompareInfo.cs.

190 {
191 if (text.Length == 0)
192 {
193 return false;
194 }
195 if (GlobalizationMode.Invariant)
196 {
197 return true;
198 }
199 if (!GlobalizationMode.UseNls)
200 {
201 return IcuIsSortable(text);
202 }
203 return NlsIsSortable(text);
204 }
static unsafe bool NlsIsSortable(ReadOnlySpan< char > text)
static bool IcuIsSortable(ReadOnlySpan< char > text)

References System.Globalization.CompareInfo.IcuIsSortable(), System.Globalization.GlobalizationMode.Invariant, System.Globalization.CompareInfo.NlsIsSortable(), System.text, and System.Globalization.GlobalizationMode.UseNls.