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

◆ StartsWithCore()

unsafe bool System.Globalization.CompareInfo.StartsWithCore ( ReadOnlySpan< char > source,
ReadOnlySpan< char > prefix,
CompareOptions options,
int * matchLengthPtr )
inlineprivate

Definition at line 487 of file CompareInfo.cs.

488 {
489 if (!GlobalizationMode.UseNls)
490 {
492 }
494 }
unsafe bool NlsStartsWith(ReadOnlySpan< char > source, ReadOnlySpan< char > prefix, CompareOptions options, int *matchLengthPtr)
unsafe bool IcuStartsWith(ReadOnlySpan< char > source, ReadOnlySpan< char > prefix, CompareOptions options, int *matchLengthPtr)

References System.Globalization.CompareInfo.IcuStartsWith(), System.Globalization.CompareInfo.NlsStartsWith(), System.options, System.prefix, System.source, and System.Globalization.GlobalizationMode.UseNls.

Referenced by System.Globalization.CompareInfo.IsPrefix(), and System.Globalization.CompareInfo.IsPrefix().