13 references to IsPrimitive
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
627Debug.Assert(sourceArray.ElementMethodTable->IsPrimitive); 628Debug.Assert(destinationArray.ElementMethodTable->IsPrimitive);
src\System\Array.CoreCLR.cs (3)
110if (pMTsrc->IsPrimitive && pMTdest->IsPrimitive) 263if (!pValueMethodTable->IsPrimitive || !pElementMethodTable->IsTruePrimitive)
src\System\Runtime\CompilerServices\CastHelpers.cs (4)
677if ((!pMT1->IsPrimitive || !pMT2->IsPrimitive || 694if ((!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) 916/// <remarks>This method should only be called when <see cref="IsPrimitive"/> returns <see langword="true"/>.</remarks>