24 references to IsValueType
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Array.cs (6)
534Debug.Assert(!sourceArray.ElementMethodTable->IsValueType); 535Debug.Assert(pDestMT->IsValueType); 579Debug.Assert(pSrcMT->IsValueType); 580Debug.Assert(!destinationArray.ElementMethodTable->IsValueType); 603Debug.Assert(!sourceArray.ElementMethodTable->IsValueType); 604Debug.Assert(!pDestMT->IsValueType);
src\System\Array.CoreCLR.cs (8)
90if (pMTsrc->IsValueType && !pMTdest->IsValueType) 99if (!pMTsrc->IsValueType && pMTdest->IsValueType) 162if (pElementMethodTable->IsValueType) 205if (pElementMethodTable->IsValueType) 224else if (!pElementMethodTable->IsValueType) 328if (!pElemMT->HasDefaultConstructor || !pElemMT->IsValueType)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
169Debug.Assert(pMT->IsValueType);
src\System\Runtime\CompilerServices\CastHelpers.cs (2)
549Debug.Assert(typeMT->IsValueType); 674Debug.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)
3408bool isValueType = th.AsMethodTable()->IsValueType; 3420bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->IsValueType;
src\System\TypedReference.CoreCLR.cs (1)
63if (pMethodTable->IsValueType)