ReadOnlySpan2D<T>.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Equals() on Span will always throw an exception. Use == instead.
Indicates whether this instance and a specified object are equal.
[System.Obsolete("Equals() on Span will always throw an exception. Use == instead.")]
public override bool Equals (object? obj);
[<System.Obsolete("Equals() on Span will always throw an exception. Use == instead.")>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare with the current instance.
Returns
true if obj
and this instance are the same type and represent the same value; otherwise, false.
- Attributes