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

◆ IcuEndsWith()

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

Definition at line 1536 of file CompareInfo.cs.

1537 {
1539 {
1540 if ((options & CompareOptions.IgnoreCase) != 0)
1541 {
1543 }
1545 }
1546 fixed (char* source2 = &MemoryMarshal.GetReference(source))
1547 {
1548 fixed (char* target = &MemoryMarshal.GetReference(suffix))
1549 {
1551 }
1552 }
1553 }
static unsafe bool EndsWith(IntPtr sortHandle, char *target, int cwTargetLength, char *source, int cwSourceLength, CompareOptions options, int *matchedLength)
unsafe bool EndsWithOrdinalHelper(ReadOnlySpan< char > source, ReadOnlySpan< char > suffix, CompareOptions options, int *matchLengthPtr)
unsafe bool EndsWithOrdinalIgnoreCaseHelper(ReadOnlySpan< char > source, ReadOnlySpan< char > suffix, CompareOptions options, int *matchLengthPtr)
static bool CanUseAsciiOrdinalForOptions(CompareOptions options)

References System.Globalization.CompareInfo._isAsciiEqualityOrdinal, System.Globalization.CompareInfo._sortHandle, System.Globalization.CompareInfo.CanUseAsciiOrdinalForOptions(), System.Runtime.Serialization.Dictionary, Interop.Globalization.EndsWith(), System.Globalization.CompareInfo.EndsWithOrdinalHelper(), System.Globalization.CompareInfo.EndsWithOrdinalIgnoreCaseHelper(), System.options, System.source, and System.suffix.

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