11 references to IsPrimitive
System.Private.CoreLib (11)
src\System\Array.CoreCLR.cs (3)
190
if (pMTsrc->
IsPrimitive
&& pMTdest->
IsPrimitive
)
576
if (!pValueMethodTable->
IsPrimitive
|| !pElementMethodTable->IsTruePrimitive)
src\System\Runtime\CompilerServices\CastHelpers.cs (4)
649
if ((!pMT1->
IsPrimitive
|| !pMT2->
IsPrimitive
||
666
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
)
903
/// <remarks>This method should only be called when <see cref="
IsPrimitive
"/> returns <see langword="true"/>.</remarks>