Redigera

Dela via


ReadOnlySpan<T>.GetHashCode Method

Definition

Caution

GetHashCode() on ReadOnlySpan will always throw an exception.

Not supported. Throws a NotSupportedException.

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

Returns

Not supported.

Attributes

Exceptions

Always thrown by this method.

Remarks

Not supported.

Applies to