Class InlineArrayType
Reflects inline arrays.
Inherited Members
Namespace: DotNext.Reflection
Assembly: DotNext.dll
Syntax
public static class InlineArrayType
Methods
View Sourceget_InlineArrayTypeAndSize(Type)
Gets inline array element type and size.
Declaration
public static (int Size, Type ElementType) get_InlineArrayTypeAndSize(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type |
Returns
| Type | Description |
|---|---|
| (int Size, Type ElementType) | The size and element type of the inline array. Size is zero, if target type is not an inline array. |
get_IsInlineArray(Type)
Gets a value indicating that the type is inline array.
Declaration
public static bool get_IsInlineArray(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type |
Returns
| Type | Description |
|---|---|
| bool |