20 references to IsValueType
System.Private.CoreLib (20)
src\System\Array.CoreCLR.cs (12)
170if (pMTsrc->IsValueType && !pMTdest->IsValueType) 179if (!pMTsrc->IsValueType && pMTdest->IsValueType) 237Debug.Assert(!destTH.IsTypeDesc && destTH.AsMethodTable()->IsValueType); 238Debug.Assert(!RuntimeHelpers.GetMethodTable(sourceArray)->GetArrayElementTypeHandle().AsMethodTable()->IsValueType); 279Debug.Assert(!srcTH.IsTypeDesc && srcTH.AsMethodTable()->IsValueType); 280Debug.Assert(!RuntimeHelpers.GetMethodTable(destinationArray)->GetArrayElementTypeHandle().AsMethodTable()->IsValueType); 475if (pElementMethodTable->IsValueType) 518if (pElementMethodTable->IsValueType) 537else if (!pElementMethodTable->IsValueType) 679if (!pElemMT->HasDefaultConstructor || !pElemMT->IsValueType)
src\System\Runtime\CompilerServices\CastHelpers.cs (1)
646Debug.Assert(pMT1->IsValueType);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
147if (!pMT->IsValueType || pMT->IsPrimitive) 277if (!pMT->IsValueType)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
281if (!allowValueClasses && pMT->IsValueType)
src\System\RuntimeType.BoxCache.cs (1)
52if (_pMT->IsValueType)
src\System\RuntimeType.CoreCLR.cs (2)
3426bool isValueType = th.AsMethodTable()->IsValueType; 3438bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->IsValueType;
src\System\TypedReference.CoreCLR.cs (1)
63if (pMethodTable->IsValueType)