TypeComparer Class |
Compares types (IType) using equivalence rules.
Namespace: PostSharp.Sdk.CodeModel.Binding
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class TypeComparer : IEqualityComparer<ITypeSignature>, IEqualityComparer<TypeSignature>, IEqualityComparer<IList<ITypeSignature>>, IEqualityComparer
The TypeComparer type exposes the following members.
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(Object, Object) | Determines whether the specified objects are equal. | |
Equals(ITypeSignature, ITypeSignature) | Determines whether the specified objects are equal. | |
Equals(IList<ITypeSignature>, IList<ITypeSignature>) | Determines whether the specified objects are equal. | |
Equals(TypeSignature, TypeSignature) | Determines whether the specified objects are equal. | |
GetHashCode() | Serves as the default hash function. (Inherited from Object.) | |
GetHashCode(Object) | Returns a hash code for the specified object. | |
GetHashCode(ITypeSignature) | Returns a hash code for the specified object. | |
GetHashCode(IList<ITypeSignature>) | Returns a hash code for the specified object. | |
GetHashCode(TypeSignature) | Returns a hash code for the specified object. | |
GetInstance |
Gets a singleton instance of TypeComparer.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |