Show / Hide Table of Contents

Class ArrayTypeSlim

Lightweight representation of an array type.

Inheritance
System.Object
TypeSlim
ArrayTypeSlim
Implements
System.IEquatable<TypeSlim>
Inherited Members
TypeSlim.Array(TypeSlim)
TypeSlim.Array(TypeSlim, Int32)
TypeSlim.GenericDefinition(AssemblySlim, String)
TypeSlim.GenericParameter(String)
TypeSlim.Generic(GenericDefinitionTypeSlim, ReadOnlyCollection<TypeSlim>)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim[])
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim, TypeSlim)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim, TypeSlim, TypeSlim)
TypeSlim.Generic(GenericDefinitionTypeSlim, TypeSlim, TypeSlim, TypeSlim, TypeSlim)
TypeSlim.Simple(AssemblySlim, String)
TypeSlim.Structural(ReadOnlyCollection<PropertyInfoSlim>, Boolean, StructuralTypeSlimKind)
TypeSlim.Equals(TypeSlim)
TypeSlim.ToString()
TypeSlim.ToCSharpString()
TypeSlim.Equals(Object)
TypeSlim.GetHashCode()
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
TypeSlim.Kind

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<>

Extension Methods

TypeSlimExtensions.ToType(TypeSlim)
TypeSlimExtensions.ToType(TypeSlim, IReflectionProvider)
TypeSlimExtensions.GetConstructor(TypeSlim, ReadOnlyCollection<TypeSlim>)
TypeSlimExtensions.GetProperty(TypeSlim, String, TypeSlim, ReadOnlyCollection<TypeSlim>, Boolean)
TypeSlimExtensions.GetField(TypeSlim, String, TypeSlim)
TypeSlimExtensions.GetSimpleMethod(TypeSlim, String, ReadOnlyCollection<TypeSlim>, TypeSlim)
TypeSlimExtensions.GetGenericDefinitionMethod(TypeSlim, String, ReadOnlyCollection<TypeSlim>, ReadOnlyCollection<TypeSlim>, TypeSlim)
TypeSlimExtensions.GetGenericMethod(TypeSlim, GenericDefinitionMethodInfoSlim, ReadOnlyCollection<TypeSlim>)
In This Article
Back to top Generated by DocFX