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)
Determines whether the current type is equal to another IType using a specified TypeComparison mode.
Declaration
bool Equals(IType? otherType, TypeComparison typeComparison)Parameters
| Type | Name | Description |
|---|---|---|
| IType | otherType | The type to compare with the current type. |
| TypeComparison | typeComparison | The comparison mode to use. |
Returns
| Type | Description |
|---|---|
| bool |
Equals(Type?, TypeComparison)
Determines whether the current type is equal to a reflection Type using a specified TypeComparison mode.
Declaration
bool Equals(Type? otherType, TypeComparison typeComparison = TypeComparison.Default)Parameters
| Type | Name | Description |
|---|---|---|
| Type | otherType | The reflection type to compare with the current type. |
| TypeComparison | typeComparison | The comparison mode to use. |
Returns
| Type | Description |
|---|---|
| bool |