Прочитај на енглеском Уреди

Делите путем


Span<T>.GetHashCode Method

Definition

Caution

GetHashCode() on Span will always throw an exception.

C#
[System.Obsolete("GetHashCode() on Span will always throw an exception.")]
public override int GetHashCode();

Returns

Calls to this method always throw a NotSupportedException.

Attributes

Exceptions

Calls to this method are not supported.

Applies to

Производ Верзије (Застарело)
.NET (Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10)
.NET Standard (2.0 (package-provided), 2.1)