PostSharp 4.3 / / Post­Sharp Documentation / 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: 4.3.48.0 (4.3.48.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