39 references to ValueType
Microsoft.Diagnostics.DataContractReader.Contracts (23)
Contracts\CallingConvention\CallingConvention_1.cs (5)
203
ElementType = isValueTypeThis ? CdacCorElementType.
ValueType
: CdacCorElementType.Class,
274
bool passedByRef = elemType == CdacCorElementType.
ValueType
285
if (elemType == CdacCorElementType.
ValueType
&& !passedByRef)
448
case CorElementType.
ValueType
:
683
else if (fieldType == 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)
725
case CorElementType.
ValueType
:
1109
case CorElementType.
ValueType
:
1133
return CorElementType.
ValueType
;
1152
if (sigType == CorElementType.
ValueType
&& typeHandle.IsMethodTable())
1155
if (internalType != CorElementType.
ValueType
)
1172
return (CorElementType)(typeDesc.TypeAndFlags & 0xFF) == CorElementType.
ValueType
;
1241
case CorElementType.
ValueType
:
2522
if (type == CorElementType.Class || type == CorElementType.
ValueType
)
2555
if (unboxValueTypes && type == CorElementType.
ValueType
&& !isRVA)
Microsoft.Diagnostics.DataContractReader.Legacy (16)
ClrDataFrame.cs (1)
712
CorElementType.
ValueType
=> ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1),
ClrDataValue.cs (1)
1076
CorElementType.
ValueType
=> rts.GetNumInstanceFieldBytes(typeHandle),
Dbi\DacDbiImpl.cs (5)
3461
case CorElementType.
ValueType
:
3605
case CorElementType.
ValueType
:
3653
case CorElementType.
ValueType
:
6631
case CorElementType.
ValueType
:
6769
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)
1166
if (typeCode is CorElementType.Class or CorElementType.
ValueType
)
TypeNameBuilder.cs (1)
213
if (elemType != Contracts.CorElementType.
ValueType
)