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

◆ Equals() [1/3]

override bool System.ReadOnlyMemory< T >.Equals ( [NotNullWhen(true)] object? obj)
inline

Definition at line 195 of file ReadOnlyMemory.cs.

196 {
197 if (obj is ReadOnlyMemory<T> other)
198 {
199 return Equals(other);
200 }
201 if (obj is Memory<T> memory)
202 {
203 return Equals(memory);
204 }
205 return false;
206 }
override bool Equals([NotNullWhen(true)] object? obj)

References System.ReadOnlyMemory< T >.Equals(), System.obj, and System.other.

Referenced by System.ReadOnlyMemory< T >.Equals().