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

◆ Equals() [2/2]

Implements System.Collections.Generic.IEqualityComparer< in T >.

Definition at line 63 of file GenericEqualityComparer.cs.

64 {
65 if (x != null)
66 {
67 if (y != null)
68 {
69 return x.Equals(y);
70 }
71 return false;
72 }
73 if (y != null)
74 {
75 return false;
76 }
77 return true;
78 }

Referenced by System.Collections.Generic.GenericEqualityComparer< T >.IndexOf(), and System.Collections.Generic.GenericEqualityComparer< T >.LastIndexOf().