PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Marshal­Type Class

MarshalType Class

Marshal types. Determines how fields and parameters are marshaled during PInvoke.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.MarshalType
    More...

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 class MarshalType

The MarshalType type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCanonicalHashCode
Gets the canonical hashcode of the current MarshalType, which can be use for equality comparison.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks
Concrete implementations are in the PostSharp.Sdk.CodeModel.MarshalTypes namespace.
See Also
Inheritance Hierarchy