137 references to EETypeElementType
System.Private.CoreLib (137)
Internal\Reflection\Augments\ReflectionAugments.cs (22)
40
using EETypeElementType = Internal.Runtime.
EETypeElementType
;
63
EETypeElementType
rhType = eeType->ElementType;
66
case
EETypeElementType
.Boolean: return TypeCode.Boolean;
67
case
EETypeElementType
.Char: return TypeCode.Char;
68
case
EETypeElementType
.SByte: return TypeCode.SByte;
69
case
EETypeElementType
.Byte: return TypeCode.Byte;
70
case
EETypeElementType
.Int16: return TypeCode.Int16;
71
case
EETypeElementType
.UInt16: return TypeCode.UInt16;
72
case
EETypeElementType
.Int32: return TypeCode.Int32;
73
case
EETypeElementType
.UInt32: return TypeCode.UInt32;
74
case
EETypeElementType
.Int64: return TypeCode.Int64;
75
case
EETypeElementType
.UInt64: return TypeCode.UInt64;
76
case
EETypeElementType
.Single: return TypeCode.Single;
77
case
EETypeElementType
.Double: return TypeCode.Double;
461
EETypeElementType
.SByte => CreateEnumInfoTyped<byte>(typeof(sbyte), unsortedNames, unsortedValues, isFlags),
462
EETypeElementType
.Byte => CreateEnumInfoTyped<byte>(typeof(byte), unsortedNames, unsortedValues, isFlags),
463
EETypeElementType
.Int16 => CreateEnumInfoTyped<ushort>(typeof(short), unsortedNames, unsortedValues, isFlags),
464
EETypeElementType
.UInt16 => CreateEnumInfoTyped<ushort>(typeof(ushort), unsortedNames, unsortedValues, isFlags),
465
EETypeElementType
.Int32 => CreateEnumInfoTyped<uint>(typeof(int), unsortedNames, unsortedValues, isFlags),
466
EETypeElementType
.UInt32 => CreateEnumInfoTyped<uint>(typeof(uint), unsortedNames, unsortedValues, isFlags),
467
EETypeElementType
.Int64 => CreateEnumInfoTyped<ulong>(typeof(long), unsortedNames, unsortedValues, isFlags),
468
EETypeElementType
.UInt64 => CreateEnumInfoTyped<ulong>(typeof(ulong), unsortedNames, unsortedValues, isFlags),
Internal\Runtime\MethodTable.Runtime.cs (2)
49
return (ElementType is >
EETypeElementType
.Void and <
EETypeElementType
.ValueType)
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (11)
365
return ElementType ==
EETypeElementType
.Nullable;
399
EETypeElementType
elementType = ElementType;
400
return elementType ==
EETypeElementType
.Array || elementType ==
EETypeElementType
.SzArray;
567
return ElementType ==
EETypeElementType
.Pointer;
575
return ElementType ==
EETypeElementType
.ByRef;
583
return ElementType ==
EETypeElementType
.Interface;
728
return ElementType <
EETypeElementType
.Class;
737
return ElementType <
EETypeElementType
.ValueType;
1134
internal
EETypeElementType
ElementType
1138
return (
EETypeElementType
)((_uFlags >> (byte)EETypeFlags.ElementTypeShift) &
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\MethodTable.Runtime.cs (3)
54
EETypeElementType
elementType = pEEType->ElementType;
55
return elementType ==
EETypeElementType
.SystemArray
56
|| (elementType ==
EETypeElementType
.Class && pEEType->NonArrayBaseType == null);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (10)
195
case
EETypeElementType
.Byte:
196
case
EETypeElementType
.SByte:
197
case
EETypeElementType
.Int16:
198
case
EETypeElementType
.UInt16:
199
case
EETypeElementType
.Int32:
200
case
EETypeElementType
.UInt32:
201
case
EETypeElementType
.Int64:
202
case
EETypeElementType
.UInt64:
203
case
EETypeElementType
.IntPtr:
204
case
EETypeElementType
.UIntPtr:
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (4)
926
internal static unsafe
EETypeElementType
GetNormalizedIntegralArrayElementType(MethodTable* type)
931
internal static
EETypeElementType
GetNormalizedIntegralArrayElementType(
EETypeElementType
elementType)
942
return (
EETypeElementType
)((int)elementType - shift);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
638
EETypeElementType
srcElType = sourceArray.ElementMethodTable->ElementType;
639
EETypeElementType
destElType = destinationArray.ElementMethodTable->ElementType;
System\Array.NativeAot.cs (3)
19
using EETypeElementType = Internal.Runtime.
EETypeElementType
;
333
EETypeElementType
sourceElementType = sourceElementEEType->ElementType;
334
EETypeElementType
destElementType = destinationElementEEType->ElementType;
System\EETypePtr.cs (3)
17
using EETypeElementType = Internal.Runtime.
EETypeElementType
;
74
Debug.Assert((byte)CorElementType.ELEMENT_TYPE_FNPTR == map[(int)
EETypeElementType
.FunctionPointer]);
80
private
EETypeElementType
ElementType
System\Enum.NativeAot.cs (11)
17
using EETypeElementType = Internal.Runtime.
EETypeElementType
;
84
EETypeElementType
elementType = eeType->ElementType;
90
case
EETypeElementType
.Char:
94
case
EETypeElementType
.SByte:
98
case
EETypeElementType
.Byte:
102
case
EETypeElementType
.Int16:
106
case
EETypeElementType
.UInt16:
110
case
EETypeElementType
.Int32:
114
case
EETypeElementType
.UInt32:
118
case
EETypeElementType
.Int64:
122
case
EETypeElementType
.UInt64:
System\InvokeUtils.cs (59)
10
using EETypeElementType = Internal.Runtime.
EETypeElementType
;
148
EETypeElementType
dstElementType = dstEEType->ElementType;
149
EETypeElementType
srcElementType = srcEEType->ElementType;
171
internal static void PrimitiveWiden(ref byte srcValue, ref byte dstValue,
EETypeElementType
srcType,
EETypeElementType
dstType)
178
case
EETypeElementType
.Byte:
181
case
EETypeElementType
.Single:
184
case
EETypeElementType
.Double:
187
case
EETypeElementType
.Char:
188
case
EETypeElementType
.Int16:
189
case
EETypeElementType
.UInt16:
192
case
EETypeElementType
.Int32:
193
case
EETypeElementType
.UInt32:
196
case
EETypeElementType
.Int64:
197
case
EETypeElementType
.UInt64:
206
case
EETypeElementType
.SByte:
209
case
EETypeElementType
.Int16:
212
case
EETypeElementType
.Int32:
215
case
EETypeElementType
.Int64:
218
case
EETypeElementType
.Single:
221
case
EETypeElementType
.Double:
230
case
EETypeElementType
.UInt16:
231
case
EETypeElementType
.Char:
234
case
EETypeElementType
.Single:
237
case
EETypeElementType
.Double:
240
case
EETypeElementType
.UInt16:
241
case
EETypeElementType
.Char:
244
case
EETypeElementType
.Int32:
245
case
EETypeElementType
.UInt32:
248
case
EETypeElementType
.Int64:
249
case
EETypeElementType
.UInt64:
258
case
EETypeElementType
.Int16:
261
case
EETypeElementType
.Int32:
264
case
EETypeElementType
.Int64:
267
case
EETypeElementType
.Single:
270
case
EETypeElementType
.Double:
279
case
EETypeElementType
.Int32:
282
case
EETypeElementType
.Int64:
285
case
EETypeElementType
.Single:
288
case
EETypeElementType
.Double:
297
case
EETypeElementType
.UInt32:
300
case
EETypeElementType
.Int64:
301
case
EETypeElementType
.UInt64:
304
case
EETypeElementType
.Single:
307
case
EETypeElementType
.Double:
316
case
EETypeElementType
.Int64:
319
case
EETypeElementType
.Single:
322
case
EETypeElementType
.Double:
331
case
EETypeElementType
.UInt64:
334
case
EETypeElementType
.Single:
337
case
EETypeElementType
.Double:
346
case
EETypeElementType
.Single:
349
case
EETypeElementType
.Double:
365
internal static bool CanPrimitiveWiden(
EETypeElementType
dstType,
EETypeElementType
srcType)
367
Debug.Assert(dstType is <
EETypeElementType
.ValueType and >=
EETypeElementType
.Boolean);
368
Debug.Assert(srcType is <
EETypeElementType
.ValueType and >=
EETypeElementType
.Boolean);
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (3)
330
if (mt->ElementType == Internal.Runtime.
EETypeElementType
.Void)
383
if (mt->ElementType ==
EETypeElementType
.Void || mt->IsGenericTypeDefinition || mt->IsByRef || mt->IsPointer || mt->IsFunctionPointer)
415
if (mt->ElementType ==
EETypeElementType
.Void
System\RuntimeType.NativeAot.cs (2)
522
return pEEType->ElementType ==
EETypeElementType
.SzArray;
533
return pEEType->ElementType ==
EETypeElementType
.Array;
System\ValueType.cs (2)
141
if (fieldType->ElementType ==
EETypeElementType
.Single)
145
else if (fieldType->ElementType ==
EETypeElementType
.Double)