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