Class ArrayTypeSlim
Lightweight representation of an array type.
Implements
System.IEquatable<TypeSlim>
Inherited Members
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public abstract class ArrayTypeSlim : TypeSlim, IEquatable<TypeSlim>
Properties
ElementType
Gets the element type.
Declaration
public TypeSlim ElementType { get; }
Property Value
Type | Description |
---|---|
TypeSlim |
Kind
Gets the kind of the type.
Declaration
public override sealed TypeSlimKind Kind { get; }
Property Value
Type | Description |
---|---|
TypeSlimKind |
Overrides
Rank
Gets the rank of the array, i.e. the number of dimensions. If the rank is null, the array is single-dimensional.
Declaration
public abstract Nullable<int> Rank { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
Rewrite(TypeSlim)
Returns a new lightweight representation of an array type with the specified element type.
Declaration
protected abstract ArrayTypeSlim Rewrite(TypeSlim elementType)
Parameters
Type | Name | Description |
---|---|---|
TypeSlim | elementType | The new element type. |
Returns
Type | Description |
---|---|
ArrayTypeSlim | A lightweight representation of an array type with the specified element type. |
Implements
System.IEquatable<>