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

FixedStringMarshalType Class

Represents the type of an unmanaged string passed by value.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.MarshalType
    PostSharp.Sdk.CodeModel.MarshalTypes.FixedStringMarshalType

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

The FixedStringMarshalType type exposes the following members.

Constructors
  NameDescription
Public methodFixedStringMarshalType
Initializes a new FixedStringMarshalType.
Properties
  NameDescription
Public propertySize
Gets the string size.
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