IArrayTypeSymbol.IsSZArray Property

Definition

Is this a zero-based one-dimensional array, i.e. SZArray in CLR terms. SZArray is an array type encoded in metadata with ELEMENT_TYPE_SZARRAY (always single-dim array with 0 lower bound). Non-SZArray type is encoded in metadata with ELEMENT_TYPE_ARRAY and with optional sizes and lower bounds. Even though non-SZArray can also be a single-dim array with 0 lower bound, the encoding of these types in metadata is distinct.

public:
 property bool IsSZArray { bool get(); };
public bool IsSZArray { get; }
member this.IsSZArray : bool
Public ReadOnly Property IsSZArray As Boolean

Property Value

Applies to