Span<T>.GetHashCode Method

Definition

Caution

GetHashCode() on Span will always throw an exception.

public:
 override int GetHashCode();
[System.Obsolete("GetHashCode() on Span will always throw an exception.")]
public override int GetHashCode ();
[<System.Obsolete("GetHashCode() on Span will always throw an exception.")>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

Calls to this method always throw a NotSupportedException.

Attributes

Exceptions

Calls to this method are not supported.

Applies to