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

◆ EqualsCore()

static bool System.Guid.EqualsCore ( in Guid left,
in Guid right )
inlinestaticprivate

Definition at line 720 of file Guid.cs.

721 {
722 ref int reference = ref Unsafe.AsRef(in left._a);
723 ref int reference2 = ref Unsafe.AsRef(in right._a);
724 if (reference == reference2 && Unsafe.Add(ref reference, 1) == Unsafe.Add(ref reference2, 1) && Unsafe.Add(ref reference, 2) == Unsafe.Add(ref reference2, 2))
725 {
726 return Unsafe.Add(ref reference, 3) == Unsafe.Add(ref reference2, 3);
727 }
728 return false;
729 }

Referenced by System.Guid.Equals(), System.Guid.Equals(), System.Guid.operator!=(), and System.Guid.operator==().