11 references to IsPrimitive
System.Private.CoreLib (11)
src\System\Array.CoreCLR.cs (3)
190if (pMTsrc->IsPrimitive && pMTdest->IsPrimitive) 576if (!pValueMethodTable->IsPrimitive || !pElementMethodTable->IsTruePrimitive)
src\System\Runtime\CompilerServices\CastHelpers.cs (4)
649if ((!pMT1->IsPrimitive || !pMT2->IsPrimitive || 666if ((!pMT1->IsPrimitive || !pMT2->IsPrimitive ||
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (4)
39if (elementTH.IsTypeDesc || !elementTH.AsMethodTable()->IsPrimitive) // Enum is included 105if (!targetMT->IsPrimitive) // Enum is included 147if (!pMT->IsValueType || pMT->IsPrimitive) 903/// <remarks>This method should only be called when <see cref="IsPrimitive"/> returns <see langword="true"/>.</remarks>