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

◆ Equals()

unsafe bool System.MdUtf8String.Equals ( MdUtf8String s)
inlinepackage

Definition at line 39 of file MdUtf8String.cs.

40 {
41 if (s.m_StringHeapByteLength != m_StringHeapByteLength)
42 {
43 return false;
44 }
45 return SpanHelpers.SequenceEqual(ref *s.m_pStringHeap, ref *m_pStringHeap, (uint)m_StringHeapByteLength);
46 }
readonly int m_StringHeapByteLength
unsafe readonly byte * m_pStringHeap

References System.MdUtf8String.m_pStringHeap, System.MdUtf8String.m_StringHeapByteLength, System.s, and System.SpanHelpers.SequenceEqual().

Referenced by System.RuntimeType.RuntimeTypeCache.Filter.Match().