PostSharp5.0//API Reference/Post­Sharp.​Reflection Namespace/Reflection­Type­Comparer Class/Reflection­Type­Comparer Methods/Reflection­Type­Comparer.​Get­Hash­Code Method/Reflection­Type­Comparer.​Get­Hash­Code Method (Type[])

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)
Syntax
C#
public int GetHashCode(
	Type[] types
)

Parameters

types
Type: System.Type[]

Return Value

Type: Int32
A hash code for the specified object.

Implements

IEqualityComparer<T>.GetHashCode(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionThe type of obj is a reference type and obj is null.
See Also