HashCode.Equals(Object) 方法

定义

注意

HashCode is a mutable struct and should not be compared with other HashCodes.

此方法不受支持,因此不应调用。

public:
 override bool Equals(System::Object ^ obj);
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)]
public override bool Equals (object? obj);
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)]
public override bool Equals (object obj);
[<System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

已忽略。

返回

Boolean

此方法将始终引发 NotSupportedException

属性

例外

始终在调用此方法时引发。

适用于