44 references to IsObject
ILCompiler.Compiler (11)
Compiler\DependencyAnalysis\EETypeNode.cs (2)
975
Debug.Assert(!declType.
IsObject
|| declMethod.Name != "Finalize"u8);
1000
if ((declType.
IsObject
&& (declMethod.Name == "Equals"u8 || declMethod.Name == "GetHashCode"u8) && implMethod.OwningType.IsWellKnownType(WellKnownType.ValueType))
Compiler\DependencyAnalysis\VTableSliceNode.cs (2)
33
bool isObjectType = type.
IsObject
;
206
if (_type.
IsObject
&& virtualMethod.Name == "Finalize"u8)
Compiler\NoMetadataBlockingPolicy.cs (1)
24
if (ecmaField.OwningType.
IsObject
)
IL\ILImporter.Scanner.cs (1)
749
if (method.OwningType.
IsObject
&& method.Name == "GetHashCode"u8)
IL\TypeEqualityPatternAnalyzer.cs (1)
163
&& method.IsIntrinsic && method.Name == "GetType"u8 && method.OwningType.
IsObject
;
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
347
if (t.
IsObject
)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
596
else if (type.
IsObject
)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (1)
993
if (!parameterType.
IsObject
)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
442
else if (type.
IsObject
)
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
95
if (type.
IsObject
)
ILCompiler.ReadyToRun (21)
Compiler\DependencyAnalysis\ReadyToRun\DevirtualizationManager.cs (3)
81
if (firstTypeInImplTypeHierarchyNotInVersionBubble == null || implType.IsValueType || firstTypeInImplTypeHierarchyNotInVersionBubble.
IsObject
)
142
if (!implType.
IsObject
)
145
while (!typeThatDerivesFromObject.BaseType.
IsObject
)
Compiler\DependencyAnalysis\ReadyToRun\SignatureBuilder.cs (1)
298
else if (typeDesc.
IsObject
)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
58
if (type.IsPrimitive || type.IsString || type.
IsObject
|| type.IsWellKnownType(WellKnownType.TypedReference))
Compiler\ExternalReferenceTokenManager.cs (1)
153
if (type.IsPrimitive || type.IsVoid || type.
IsObject
|| type.IsString || type.IsTypedReference)
Compiler\ReadyToRunCodegenCompilation.cs (2)
665
if (type.
IsObject
)
682
while (!type.
IsObject
)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (6)
324
if (type.
IsObject
||
338
if ((type.BaseType != null) && !type.BaseType.
IsObject
&& !type.IsValueType)
367
if (baseType.
IsObject
)
827
if (type.IsPrimitive || type.IsVoid || type.
IsObject
|| type.IsString || type.IsTypedReference)
900
if (instType.IsPrimitive || instType.
IsObject
|| instType.IsString)
923
Debug.Assert(instType.IsString || instType.
IsObject
);
Compiler\ReadyToRunCompilerContext.cs (1)
110
if (type.
IsObject
)
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
2186
(targetMethod.OwningType.
IsObject
&& targetMethod.Name == "GetType"u8);
2727
if (typeDefinition.IsPrimitive || typeDefinition.IsVoid || typeDefinition.IsString || typeDefinition.
IsObject
3550
Debug.Assert(clauseType.
IsObject
);
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
347
if (t.
IsObject
)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
596
else if (type.
IsObject
)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
442
else if (type.
IsObject
)
ILCompiler.RyuJit (1)
JitInterface\CorInfoImpl.RyuJit.cs (1)
1251
if (method.OwningType.
IsObject
&& method.Name == "GetHashCode"u8)
ILCompiler.TypeSystem (10)
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (2)
260
if (otherType.
IsObject
)
539
if (curType.IsInterface && otherType.
IsObject
)
parent\parent\Common\TypeSystem\Common\MetadataFieldLayoutAlgorithm.cs (1)
76
if (!baseType.
IsObject
&& baseType.IsAutoLayout)
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (1)
763
return (owningType.
IsObject
&& Name == "Finalize"u8) || (owningType.HasFinalizer && owningType.GetFinalizer() == this);
parent\parent\Common\TypeSystem\Common\Utilities\CSharpTypeNameFormatter.cs (1)
191
_ when type.
IsObject
=> "object",
parent\parent\Common\TypeSystem\Common\Utilities\DebugNameFormatter.cs (1)
161
if (type.
IsObject
)
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (3)
74
if (type.IsPrimitive || type.IsString || type.
IsObject
)
450
&& !type.
IsObject
597
if (type.
IsObject
)
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
541
return initialType.
IsObject
;