PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model.​Type­Signatures Namespace / Array­Dimension Structure

ArrayDimension Structure

Specifies the bounds of a single dimension of an ArrayTypeSignature.

Namespace:  PostSharp.Sdk.CodeModel.TypeSignatures
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public struct ArrayDimension : IEquatable<ArrayDimension>

The ArrayDimension type exposes the following members.

Constructors
  NameDescription
Public methodArrayDimension
Initializes a new ArrayDimension.
Properties
  NameDescription
Public propertyHasLowerBound
Determines whether the dimension has a lower bound.
Public propertyHasSize
Determines whether the dimension has a limited number of elements.
Public propertyLowerBound
Gets the lower bound.
Public propertySize
Gets the number of elements.
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
Public methodEquals(ArrayDimension)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two instances are equal.
Public operatorStatic memberInequality
Determines whether two instances are different.
Fields
  NameDescription
Public fieldStatic memberUnlimited
When set to LowerBound or Size, specifies that the value is unbounded.
See Also