PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Marshal­Type Class / Marshal­Type Methods / Marshal­Type.​Get­Canonical­Hash­Code Method

MarshalType.GetCanonicalHashCode Method

Gets the canonical hashcode of the current MarshalType, which can be use for equality comparison.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public abstract int GetCanonicalHashCode()

Return Value

Type: Int32
The canonical hashcode of the current instance.
See Also