49 references to IsValueType
System.Private.CoreLib (49)
Internal\IntrinsicSupport\ComparerHelpers.cs (1)
36if (objectType->IsValueType)
Internal\Runtime\Augments\RuntimeAugments.cs (9)
153if (elementMT->IsValueType) 155Debug.Assert(value.GetMethodTable()->IsValueType && elementMT->ValueTypeSize == value.GetMethodTable()->ValueTypeSize); 297Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->IsValueType); 305Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->IsValueType); 306Debug.Assert(fieldTypeHandle.ToMethodTable()->IsValueType); 314Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->IsValueType); 322Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->IsValueType); 330Debug.Assert(TypedReference.TargetTypeToken(typedReference).ToMethodTable()->IsValueType); 372return type.ToMethodTable()->IsValueType;
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (1)
71Debug.Assert(structureMT->IsValueType);
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (3)
591return IsValueType && (_uFlags & (uint)EETypeFlagsEx.IsByRefLikeFlag) != 0; 782Debug.Assert(IsValueType); 791Debug.Assert(IsValueType);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (4)
129Debug.Assert(pEEType->IsValueType && !pEEType->IsByRefLike && !pEEType->IsFinalizable); 174if (pEEType->IsValueType) 236Debug.Assert(pType->IsValueType); 263Debug.Assert(pEEType->IsValueType);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (3)
1000if (pTargetType->IsNullable && pSourceType->IsValueType && !pSourceType->IsNullable) 1073if (!fBoxedSource && pSourceType->IsValueType) 1161if (pSourceType->IsValueType)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (6)
539Debug.Assert(!sourceArray.ElementMethodTable->IsValueType); 540Debug.Assert(pDestMT->IsValueType); 584Debug.Assert(pSrcMT->IsValueType); 585Debug.Assert(!destinationArray.ElementMethodTable->IsValueType); 608Debug.Assert(!sourceArray.ElementMethodTable->IsValueType); 609Debug.Assert(!pDestMT->IsValueType);
System\Array.NativeAot.cs (9)
259if (!pElementEEType->IsValueType) 311if (sourceElementEEType->IsValueType && !destinationElementEEType->IsValueType) 320if (!sourceElementEEType->IsValueType && destinationElementEEType->IsValueType) 345if (sourceElementEEType->IsValueType && destinationElementEEType->IsValueType) 389if (pElementEEType->IsValueType) 407if (pElementEEType->IsValueType)
System\InvokeUtils.cs (1)
62else if (dstEEType->IsValueType && !dstEEType->IsNullable)
System\Reflection\DynamicInvokeInfo.cs (2)
86if (eeArgumentType->IsValueType) 132if (eeReturnType->IsValueType)
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (4)
55if ((!eeType->IsValueType) || eeType->IsPrimitive) 70if (!o1.GetMethodTable()->IsValueType) 388if (!mt->IsValueType) 421if (mt->IsValueType)
System\Runtime\InteropServices\Marshal.NativeAot.cs (3)
55if (!allowValueClasses && structure.GetMethodTable()->IsValueType) 71if (structureMT->IsValueType) 138if (structureMT->IsValueType)
System\RuntimeType.NativeAot.cs (2)
244return pEEType->IsValueType; 254return pEEType->IsValueType;
System\ValueType.cs (1)
153else if (fieldType->IsValueType)