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

◆ EndsWithOrdinalIgnoreCase()

static bool System.MemoryExtensions.EndsWithOrdinalIgnoreCase ( this ReadOnlySpan< char > span,
ReadOnlySpan< char > value )
inlinestaticpackage

Definition at line 1584 of file MemoryExtensions.cs.

1585 {
1586 if (value.Length <= span.Length)
1587 {
1588 return Ordinal.EqualsIgnoreCase(ref Unsafe.Add(ref MemoryMarshal.GetReference(span), span.Length - value.Length), ref MemoryMarshal.GetReference(value), value.Length);
1589 }
1590 return false;
1591 }
static bool EqualsIgnoreCase(ref char charA, ref char charB, int length)
Definition Ordinal.cs:57

References System.Globalization.Ordinal.EqualsIgnoreCase(), and System.value.