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

FixedArrayMarshalType Class

Represents the type of an unmanaged array with fixed number of elements, passed by value.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.MarshalType
    PostSharp.Sdk.CodeModel.MarshalTypes.FixedArrayMarshalType

Namespace:  PostSharp.Sdk.CodeModel.MarshalTypes
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class FixedArrayMarshalType : MarshalType

The FixedArrayMarshalType type exposes the following members.

Constructors
  NameDescription
Public methodFixedArrayMarshalType
Initializes a new FixedArrayMarshalType.
Properties
  NameDescription
Public propertyElementNumber
Gets the number of elements in the array.
Public propertyElementType
Gets the type of array elements.
Public propertyIIDParameterIndex
Gets the index of the parameter containing the IID of item types
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCanonicalHashCode
Gets the canonical hashcode of the current MarshalType, which can be use for equality comparison.
(Overrides MarshalType.GetCanonicalHashCode().)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also