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