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

◆ Equals() [2/3]

bool System.Diagnostics.Metrics.ObjectSequence2.Equals ( ObjectSequence2 other)
inline

Definition at line 11 of file ObjectSequence2.cs.

12 {
13 if ((Value1 == null) ? (other.Value1 == null) : Value1.Equals(other.Value1))
14 {
15 if (Value2 != null)
16 {
17 return Value2.Equals(other.Value2);
18 }
19 return other.Value2 == null;
20 }
21 return false;
22 }

References System.other, System.Diagnostics.Metrics.ObjectSequence2.Value1, and System.Diagnostics.Metrics.ObjectSequence2.Value2.

Referenced by System.Diagnostics.Metrics.ObjectSequence2.Equals().