13 references to IsPrimitive
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
632Debug.Assert(sourceArray.ElementMethodTable->IsPrimitive); 633Debug.Assert(destinationArray.ElementMethodTable->IsPrimitive);
src\System\Array.CoreCLR.cs (3)
115if (pMTsrc->IsPrimitive && pMTdest->IsPrimitive) 268if (!pValueMethodTable->IsPrimitive || !pElementMethodTable->IsTruePrimitive)
src\System\Runtime\CompilerServices\CastHelpers.cs (4)
704if ((!pMT1->IsPrimitive || !pMT2->IsPrimitive || 722if ((!pMT1->IsPrimitive || !pMT2->IsPrimitive ||
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (4)
40if (elementTH.IsTypeDesc || !elementTH.AsMethodTable()->IsPrimitive) // Enum is included 106if (!targetMT->IsPrimitive) // Enum is included 148if (!pMT->IsValueType || pMT->IsPrimitive) 1019/// <remarks>This method should only be called when <see cref="IsPrimitive"/> returns <see langword="true"/>.</remarks>