Open sandboxFocus

Class ReflectionTypeComparer

Comparer of reflection types (Type) based on content, not reference.

Inheritance
ReflectionTypeComparer
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public sealed class ReflectionTypeComparer : IEqualityComparer<Type>, IEqualityComparer<Type[]>

Methods

Name Description
Equals(Type, Type)
Equals(Type[], Type[])
GetHashCode(Type)
GetHashCode(Type[])
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.