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