Open sandboxFocus

Method Equals

Equals(SpecialType)

Determines whether the current type is equal to a well-known special type.

Declaration
bool Equals(SpecialType specialType)
Parameters
Type Name Description
SpecialType specialType
Returns
Type Description
bool

Equals(IType?, TypeComparison)

Declaration
bool Equals(IType? otherType, TypeComparison typeComparison)
Parameters
Type Name Description
IType otherType
TypeComparison typeComparison
Returns
Type Description
bool

Equals(Type?, TypeComparison)

Declaration
bool Equals(Type? otherType, TypeComparison typeComparison = TypeComparison.Default)
Parameters
Type Name Description
Type otherType
TypeComparison typeComparison
Returns
Type Description
bool