39 references to ValueType
Microsoft.Diagnostics.DataContractReader.Contracts (24)
Contracts\ByRefPointerOffsetsReporter.cs (2)
53if (fieldType == CorElementType.ValueType) 82ITypeHandle? fieldTypeHandle = fieldType == CorElementType.ValueType
Contracts\CallingConvention\CallingConvention_1.cs (4)
203ElementType = isValueTypeThis ? CdacCorElementType.ValueType : CdacCorElementType.Class, 274bool passedByRef = elemType == CdacCorElementType.ValueType 285if (elemType == CdacCorElementType.ValueType && !passedByRef) 447case CorElementType.ValueType:
Contracts\CallingConvention\CdacTypeHandle.cs (4)
53=> _typeInfo.ElementType == CdacCorElementType.ValueType 61=> _typeInfo.ElementType == CdacCorElementType.ValueType 104if (_typeInfo.ElementType != CdacCorElementType.ValueType || ExactTypeHandle is null) 233case CdacCorElementType.ValueType:
Contracts\CallingConvention\SignatureTypeInfoProvider.cs (1)
198(byte)SignatureTypeKind.ValueType => CorElementType.ValueType,
Contracts\ManagedTypeSource_1.cs (2)
141bool isGC = type is CorElementType.Class or CorElementType.ValueType; 176bool isGC = type is CorElementType.Class or CorElementType.ValueType;
Contracts\RuntimeMutableTypeSystem_1.cs (2)
100return fieldType is CorElementType.ValueType or CorElementType.Class 145if (fieldType == CorElementType.ValueType)
Contracts\RuntimeTypeSystem_1.cs (9)
705case CorElementType.ValueType: 1124case CorElementType.ValueType: 1148return CorElementType.ValueType; 1167if (sigType == CorElementType.ValueType && typeHandle.IsMethodTable()) 1170if (internalType != CorElementType.ValueType) 1187return (CorElementType)(typeDesc.TypeAndFlags & 0xFF) == CorElementType.ValueType; 1256case CorElementType.ValueType: 2537if (type == CorElementType.Class || type == CorElementType.ValueType) 2570if (unboxValueTypes && type == CorElementType.ValueType && !isRVA)
Microsoft.Diagnostics.DataContractReader.Legacy (15)
ClrDataFrame.cs (1)
712CorElementType.ValueType => ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1),
ClrDataValue.cs (1)
1076CorElementType.ValueType => rts.GetNumInstanceFieldBytes(typeHandle),
Dbi\DacDbiImpl.cs (4)
3624case CorElementType.ValueType: 3672case CorElementType.ValueType: 6651case CorElementType.ValueType: 6789case CorElementType.ValueType:
Dbi\TypeDataWalk.cs (3)
76case CorElementType.ValueType: 105case CorElementType.ValueType: 169if ((typeDef is not null && _rts.IsValueType(typeDef)) || et == CorElementType.ValueType)
SigFormat.cs (4)
128case CorElementType.ValueType: 167case CorElementType.ValueType: 321if (corElementType == CorElementType.ValueType && runtimeTypeSystem.HasTypeParam(typeHandle)) 347case CorElementType.ValueType:
SOSDacImpl.cs (1)
1185if (typeCode is CorElementType.Class or CorElementType.ValueType)
TypeNameBuilder.cs (1)
213if (elemType != Contracts.CorElementType.ValueType)