10 references to IsPrimitive
System.Private.CoreLib (10)
Internal\Runtime\MethodTable.Runtime.cs (1)
40
return
IsPrimitive
&& (IsGenericTypeDefinition || NonArrayBaseType != MethodTable.Of<ValueType>());
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (1)
1167
if (fAllowSizeEquivalence && pTargetType->
IsPrimitive
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
632
Debug.Assert(sourceArray.ElementMethodTable->
IsPrimitive
);
633
Debug.Assert(destinationArray.ElementMethodTable->
IsPrimitive
);
System\Array.NativeAot.cs (2)
331
if (sourceElementEEType->
IsPrimitive
&& destinationElementEEType->
IsPrimitive
)
System\InvokeUtils.cs (2)
142
if (!(srcEEType->
IsPrimitive
&& dstEEType->
IsPrimitive
))
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
55
if ((!eeType->IsValueType) || eeType->
IsPrimitive
)
System\ValueType.cs (1)
149
else if (fieldType->
IsPrimitive
)