13 references to IsValueType
System.Private.CoreLib (13)
src\System\Array.CoreCLR.cs (6)
156
Debug.Assert(!destTH.IsTypeDesc && destTH.AsMethodTable()->
IsValueType
);
157
Debug.Assert(!RuntimeHelpers.GetMethodTable(sourceArray)->GetArrayElementTypeHandle().AsMethodTable()->
IsValueType
);
198
Debug.Assert(!srcTH.IsTypeDesc && srcTH.AsMethodTable()->
IsValueType
);
199
Debug.Assert(!RuntimeHelpers.GetMethodTable(destinationArray)->GetArrayElementTypeHandle().AsMethodTable()->
IsValueType
);
535
if (pElementMethodTable->
IsValueType
)
638
if (!pElemMT->HasDefaultConstructor || !pElemMT->
IsValueType
)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (3)
48
if (!pMT->
IsValueType
|| pMT->IsPrimitive)
155
if (!pMT->
IsValueType
)
444
if (pMT->
IsValueType
)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
280
if (!allowValueClasses && pMT->
IsValueType
)
src\System\RuntimeType.CoreCLR.cs (2)
3378
bool isValueType = th.AsMethodTable()->
IsValueType
;
3390
bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->
IsValueType
;
src\System\TypedReference.CoreCLR.cs (1)
40
if (pMethodTable->
IsValueType
)