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

ArrayMarshalType Class

Represents the type of an unmanaged LPArray, i.e. a pointer to a standard C array.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.MarshalType
    PostSharp.Sdk.CodeModel.MarshalTypes.ArrayMarshalType

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 ArrayMarshalType : MarshalType

The ArrayMarshalType type exposes the following members.

Constructors
  NameDescription
Public methodArrayMarshalType
Initializes a new instance of ArrayMarshalType.
Properties
  NameDescription
Public propertyAdditionalSize
Gets the index of the parameter containing the array size.
Public propertyArraySizeParameterIndex
Gets the fixed array size.
Public propertyElementType
Gets the type of elements.
Public propertySizeMultiplier
Gets the number by which the value of the parameter at index ArraySizeParameterIndex should be multiplied.
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.)
Fields
  NameDescription
Public fieldStatic memberUnknownElementType
When applies to the ElementType property, means that the element type is not known.
Remarks
The number of elements in the array is determined by the following formula:
See Also