Edit

Share via


ReadOnlyTensorSpan<T>.GetHashCode Method

Definition

Caution

GetHashCode() on ReadOnlyTensorSpan will always throw an exception.

This method is not supported as spans cannot be boxed.

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

Returns

Attributes

Exceptions

In all cases.

Applies to