ReflectionTypeComparer Class |
Comparer of reflection types (Type) based on content, not reference.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class ReflectionTypeComparer : IEqualityComparer<Type>, IEqualityComparer<Type[]>
Name | Description | |
---|---|---|
Equals(Type, Type) | Determines whether the specified objects are equal. | |
Equals(Type[], Type[]) | Determines whether the specified objects are equal. | |
GetHashCode(Type) | Returns a hash code for the specified object. | |
GetHashCode(Type[]) | Returns a hash code for the specified object. | |
GetInstance() |
Gets an instance of ReflectionTypeComparer that does not perform
substitution of generic parameters.
| |
GetInstance(Type[], Type[], Type[], Type[]) |
Gets an instance of ReflectionTypeComparer that performs
substitution of generic parameters.
|