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

◆ Equals() [3/5]

bool IStructuralEquatable. System.Collections.Immutable.ImmutableArray< T >.Equals ( object other,
IEqualityComparer comparer )
inline

Definition at line 1496 of file ImmutableArray.cs.

1497 {
1500 if (array == null && other is IImmutableArray immutableArray2)
1501 {
1502 array = immutableArray2.Array;
1503 if (immutableArray.array == null && array == null)
1504 {
1505 return true;
1506 }
1507 if (immutableArray.array == null)
1508 {
1509 return false;
1510 }
1511 }
1512 IStructuralEquatable structuralEquatable = immutableArray.array;
1513 return structuralEquatable.Equals(array, comparer);
1514 }

References System.Collections.Immutable.ImmutableArray< T >.array, System.Collections.Immutable.ImmutableArray< T >.Array, System.comparer, and System.other.