ReflectionTypeComparer.GetHashCode Method (Type) |
Returns a hash code for the specified object.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)

C#
public int GetHashCode( Type obj )
Parameters
- obj
- Type: System.Type
The Object for which a hash code is to be returned.
Return Value
Type: Int32A hash code for the specified object.
Implements
IEqualityComparer<T>.GetHashCode(T)
Exception | Condition |
---|---|
ArgumentNullException | The type of obj is a reference type and obj is null. |
