This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
ReflectionTypeComparer Class
Comparer of reflection types (Type) based on content, not reference. Supports the unbound generic parameters derived from the GenericArg class.
Inheritance Hierarchy
System.Object
  PostSharp.Reflection.ReflectionTypeComparer

Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public sealed class ReflectionTypeComparer : IEqualityComparer<Type>, 
	IEqualityComparer<Type[]>

The ReflectionTypeComparer type exposes the following members.

Methods
  NameDescription
Public methodEquals(Type, Type)
Determines whether the specified objects are equal.
Public methodEquals(Type[], Type[])
Determines whether the specified objects are equal.
Public methodGetHashCode(Type)
Returns a hash code for the specified object.
Public methodGetHashCode(Type[])
Returns a hash code for the specified object.
Public methodStatic memberGetInstance()
Gets an instance of ReflectionTypeComparer that does not perform substitution of generic parameters.
Public methodStatic memberGetInstance(Type[], Type[], Type[], Type[])
Gets an instance of ReflectionTypeComparer that performs substitution of generic parameters.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also