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

◆ Equals() [1/3]

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

Definition at line 255 of file Memory.cs.

256 {
257 if (obj is ReadOnlyMemory<T> readOnlyMemory)
258 {
259 return readOnlyMemory.Equals(this);
260 }
261 if (obj is Memory<T> other)
262 {
263 return Equals(other);
264 }
265 return false;
266 }
override bool Equals([NotNullWhen(true)] object? obj)
Definition Memory.cs:255

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

Referenced by System.Memory< T >.Equals(), System.Net.Sockets.SocketAsyncEventArgs.SetBuffer(), and System.Net.Sockets.SocketAsyncEventArgs.StartOperationAccept().