49 references to IsValueType
System.Private.CoreLib (49)
Internal\IntrinsicSupport\ComparerHelpers.cs (1)
36
if (objectType->
IsValueType
)
Internal\Runtime\Augments\RuntimeAugments.cs (9)
153
if (elementMT->
IsValueType
)
155
Debug.Assert(value.GetMethodTable()->
IsValueType
&& elementMT->ValueTypeSize == value.GetMethodTable()->ValueTypeSize);
297
Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->
IsValueType
);
305
Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->
IsValueType
);
306
Debug.Assert(fieldTypeHandle.ToMethodTable()->
IsValueType
);
314
Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->
IsValueType
);
322
Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->
IsValueType
);
330
Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->
IsValueType
);
372
return type.ToMethodTable()->
IsValueType
;
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (1)
71
Debug.Assert(structureMT->
IsValueType
);
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (3)
591
return
IsValueType
&& (_uFlags & (uint)EETypeFlagsEx.IsByRefLikeFlag) != 0;
782
Debug.Assert(
IsValueType
);
791
Debug.Assert(
IsValueType
);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (4)
129
Debug.Assert(pEEType->
IsValueType
&& !pEEType->IsByRefLike && !pEEType->IsFinalizable);
174
if (pEEType->
IsValueType
)
236
Debug.Assert(pType->
IsValueType
);
263
Debug.Assert(pEEType->
IsValueType
);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (3)
1000
if (pTargetType->IsNullable && pSourceType->
IsValueType
&& !pSourceType->IsNullable)
1073
if (!fBoxedSource && pSourceType->
IsValueType
)
1161
if (pSourceType->
IsValueType
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (6)
539
Debug.Assert(!sourceArray.ElementMethodTable->
IsValueType
);
540
Debug.Assert(pDestMT->
IsValueType
);
584
Debug.Assert(pSrcMT->
IsValueType
);
585
Debug.Assert(!destinationArray.ElementMethodTable->
IsValueType
);
608
Debug.Assert(!sourceArray.ElementMethodTable->
IsValueType
);
609
Debug.Assert(!pDestMT->
IsValueType
);
System\Array.NativeAot.cs (9)
259
if (!pElementEEType->
IsValueType
)
311
if (sourceElementEEType->
IsValueType
&& !destinationElementEEType->
IsValueType
)
320
if (!sourceElementEEType->
IsValueType
&& destinationElementEEType->
IsValueType
)
345
if (sourceElementEEType->
IsValueType
&& destinationElementEEType->
IsValueType
)
389
if (pElementEEType->
IsValueType
)
407
if (pElementEEType->
IsValueType
)
System\InvokeUtils.cs (1)
62
else if (dstEEType->
IsValueType
&& !dstEEType->IsNullable)
System\Reflection\DynamicInvokeInfo.cs (2)
86
if (eeArgumentType->
IsValueType
)
132
if (eeReturnType->
IsValueType
)
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (4)
55
if ((!eeType->
IsValueType
) || eeType->IsPrimitive)
70
if (!o1.GetMethodTable()->
IsValueType
)
388
if (!mt->
IsValueType
)
421
if (mt->
IsValueType
)
System\Runtime\InteropServices\Marshal.NativeAot.cs (3)
55
if (!allowValueClasses && structure.GetMethodTable()->
IsValueType
)
71
if (structureMT->
IsValueType
)
138
if (structureMT->
IsValueType
)
System\RuntimeType.NativeAot.cs (2)
244
return pEEType->
IsValueType
;
254
return pEEType->
IsValueType
;
System\ValueType.cs (1)
153
else if (fieldType->
IsValueType
)