13 references to IsPrimitive
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
627
Debug.Assert(sourceArray.ElementMethodTable->
IsPrimitive
);
628
Debug.Assert(destinationArray.ElementMethodTable->
IsPrimitive
);
src\System\Array.CoreCLR.cs (3)
110
if (pMTsrc->
IsPrimitive
&& pMTdest->
IsPrimitive
)
263
if (!pValueMethodTable->
IsPrimitive
|| !pElementMethodTable->IsTruePrimitive)
src\System\Runtime\CompilerServices\CastHelpers.cs (4)
677
if ((!pMT1->
IsPrimitive
|| !pMT2->
IsPrimitive
||
694
if ((!pMT1->
IsPrimitive
|| !pMT2->
IsPrimitive
||
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (4)
39
if (elementTH.IsTypeDesc || !elementTH.AsMethodTable()->
IsPrimitive
) // Enum is included
105
if (!targetMT->
IsPrimitive
) // Enum is included
147
if (!pMT->IsValueType || pMT->
IsPrimitive
)
916
/// <remarks>This method should only be called when <see cref="
IsPrimitive
"/> returns <see langword="true"/>.</remarks>