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

◆ NlsStartsWith()

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

Definition at line 2045 of file CompareInfo.cs.

2046 {
2048 if (num >= 0)
2049 {
2050 if (matchLengthPtr != null)
2051 {
2052 *matchLengthPtr += num;
2053 }
2054 return true;
2055 }
2056 return false;
2057 }
static int GetNativeCompareFlags(CompareOptions options)
unsafe int FindString(uint dwFindNLSStringFlags, ReadOnlySpan< char > lpStringSource, ReadOnlySpan< char > lpStringValue, int *pcchFound)

References System.Globalization.CompareInfo.FindString(), System.Globalization.CompareInfo.GetNativeCompareFlags(), System.options, System.prefix, and System.source.

Referenced by System.Globalization.CompareInfo.StartsWithCore().