20 references to IsValueType
System.Private.CoreLib (20)
src\System\Array.CoreCLR.cs (12)
184
if (pMTsrc->
IsValueType
&& !pMTdest->
IsValueType
)
193
if (!pMTsrc->
IsValueType
&& pMTdest->
IsValueType
)
251
Debug.Assert(!destTH.IsTypeDesc && destTH.AsMethodTable()->
IsValueType
);
252
Debug.Assert(!RuntimeHelpers.GetMethodTable(sourceArray)->GetArrayElementTypeHandle().AsMethodTable()->
IsValueType
);
293
Debug.Assert(!srcTH.IsTypeDesc && srcTH.AsMethodTable()->
IsValueType
);
294
Debug.Assert(!RuntimeHelpers.GetMethodTable(destinationArray)->GetArrayElementTypeHandle().AsMethodTable()->
IsValueType
);
489
if (pElementMethodTable->
IsValueType
)
532
if (pElementMethodTable->
IsValueType
)
551
else if (!pElementMethodTable->
IsValueType
)
693
if (!pElemMT->HasDefaultConstructor || !pElemMT->
IsValueType
)
src\System\Runtime\CompilerServices\CastHelpers.cs (1)
646
Debug.Assert(pMT1->
IsValueType
);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
147
if (!pMT->
IsValueType
|| pMT->IsPrimitive)
277
if (!pMT->
IsValueType
)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
281
if (!allowValueClasses && pMT->
IsValueType
)
src\System\RuntimeType.BoxCache.cs (1)
52
if (_pMT->
IsValueType
)
src\System\RuntimeType.CoreCLR.cs (2)
3408
bool isValueType = th.AsMethodTable()->
IsValueType
;
3420
bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->
IsValueType
;
src\System\TypedReference.CoreCLR.cs (1)
63
if (pMethodTable->
IsValueType
)