MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​TypesIArray­Type
Open sandboxFocus

IArrayType Interface

Represents an array, e.g. T[].

Namespace: Metalama.Framework.Code.Types
Assembly: Metalama.Framework.dll
Syntax
public interface IArrayType : IType, ICompilationElement, IDisplayable

Properties

Name Description
ElementType

Gets the element type, e.g. the T in T[].

Rank

Gets the array rank (1 for T[], 2 for T[,], ...).

Extension Methods

TypeFactory.ToNullableType(IArrayType)
TypeFactory.ToNonNullableType(IArrayType)