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

◆ EqualsOrdinalIgnoreCase()

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

Definition at line 1402 of file MemoryExtensions.cs.

1403 {
1404 if (span.Length != value.Length)
1405 {
1406 return false;
1407 }
1408 if (value.Length == 0)
1409 {
1410 return true;
1411 }
1412 return Ordinal.EqualsIgnoreCase(ref MemoryMarshal.GetReference(span), ref MemoryMarshal.GetReference(value), span.Length);
1413 }
static bool EqualsIgnoreCase(ref char charA, ref char charB, int length)
Definition Ordinal.cs:57

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