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