23 references to IsValueType
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Array.cs (6)
539Debug.Assert(!sourceArray.ElementMethodTable->IsValueType); 540Debug.Assert(pDestMT->IsValueType); 584Debug.Assert(pSrcMT->IsValueType); 585Debug.Assert(!destinationArray.ElementMethodTable->IsValueType); 608Debug.Assert(!sourceArray.ElementMethodTable->IsValueType); 609Debug.Assert(!pDestMT->IsValueType);
src\System\Array.CoreCLR.cs (8)
95if (pMTsrc->IsValueType && !pMTdest->IsValueType) 104if (!pMTsrc->IsValueType && pMTdest->IsValueType) 167if (pElementMethodTable->IsValueType) 210if (pElementMethodTable->IsValueType) 229else if (!pElementMethodTable->IsValueType) 334if (!pElemMT->HasDefaultConstructor || !pElemMT->IsValueType)
src\System\Runtime\CompilerServices\CastHelpers.cs (2)
571Debug.Assert(typeMT->IsValueType); 701Debug.Assert(pMT1->IsValueType);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
148if (!pMT->IsValueType || pMT->IsPrimitive) 279if (!pMT->IsValueType)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
281if (!allowValueClasses && pMT->IsValueType)
src\System\RuntimeType.BoxCache.cs (1)
53if (_pMT->IsValueType)
src\System\RuntimeType.CoreCLR.cs (2)
3443bool isValueType = th.AsMethodTable()->IsValueType; 3455bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->IsValueType;
src\System\TypedReference.CoreCLR.cs (1)
47if (pMethodTable->IsValueType)