55 references to Object
ILCompiler.Compiler (29)
Compiler\CompilerTypeSystemContext.GetFieldMethodOverrides.cs (2)
82
_objectEqualsMethod ??= GetWellKnownType(WellKnownType.
Object
).GetMethod("Equals"u8, null);
122
_objectEqualsMethod ??= GetWellKnownType(WellKnownType.
Object
).GetMethod("Equals"u8, null);
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
228
FieldDesc eeTypeField = Context.GetWellKnownType(WellKnownType.
Object
).GetKnownField("m_pEEType"u8);
Compiler\DependencyAnalysis\NodeFactory.cs (1)
255
DefType baseType = _context.GetWellKnownType(WellKnownType.
Object
);
Compiler\UserDefinedTypeDescriptor.cs (3)
580
classTypeDescriptor.BaseClassId = GetTypeIndex(type.Context.GetWellKnownType(WellKnownType.
Object
), true);
664
GetVariableTypeIndex(fieldType.Context.GetWellKnownType(WellKnownType.
Object
))
777
classTypeDescriptor.BaseClassId = GetTypeIndex(defType.Context.GetWellKnownType(WellKnownType.
Object
), true);
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
246
public override MetadataType BaseType => (MetadataType)Context.GetWellKnownType(WellKnownType.
Object
);
451
FieldDesc eeTypeField = Context.GetWellKnownType(WellKnownType.
Object
).GetKnownField("m_pEEType"u8);
parent\parent\Common\Compiler\Dataflow\TypeExtensions.cs (1)
46
ILLinkSharedWellKnownType.System_Object => type.IsWellKnownType(TypeSystemWellKnownType.
Object
),
parent\parent\Common\Compiler\TypeExtensions.cs (3)
289
return ta.Context.GetWellKnownType(WellKnownType.
Object
);
671
return type.Context.GetWellKnownType(WellKnownType.
Object
);
768
return constrainedType ?? genericParam.Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\ArrayMethodILEmitter.cs (3)
34
_helperFieldToken = _emitter.NewToken(_method.Context.GetWellKnownType(WellKnownType.
Object
).GetKnownField("m_pEEType"u8));
106
TypeDesc objectType = context.GetWellKnownType(WellKnownType.
Object
);
145
TypeDesc objectType = context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
48
TypeDesc objectType = Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (2)
252
targetMethodParameters[0] = Context.GetWellKnownType(WellKnownType.
Object
);
524
TypeDesc objectType = Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (1)
72
return type.Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (1)
120
parameters: new TypeDesc[] { Context.GetWellKnownType(WellKnownType.
Object
),
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (2)
89
if (_owningType.IsValueType && ComparerIntrinsics.CanCompareValueTypeBitsUntilOffset(_owningType, Context.GetWellKnownType(WellKnownType.
Object
).GetMethod("Equals"u8, null), out int lastFieldEndOffset))
135
boxableFieldType = Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
42
ceArgType = method.Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\RuntimeHelpersIntrinsics.cs (1)
71
MethodDesc objectEquals = mdType.Context.GetWellKnownType(WellKnownType.
Object
).GetMethod("Equals"u8, null);
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (3)
1269
new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.IntPtr), [ Context.GetWellKnownType(WellKnownType.
Object
) ]));
1298
new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.
Object
), [ Context.GetWellKnownType(WellKnownType.IntPtr) ]));
1316
new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.Void), [ Context.GetWellKnownType(WellKnownType.
Object
) ]));
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
21
&& !baseType.IsWellKnownType(WellKnownType.
Object
)
ILCompiler.MetadataTransform (2)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
119
case Ecma.SerializationTypeCode.TaggedObject: return module.Context.GetWellKnownType(Cts.WellKnownType.
Object
);
ILCompiler\Metadata\Transform.Type.cs (1)
423
return HandleType(module.Context.GetWellKnownType(Cts.WellKnownType.
Object
));
ILCompiler.ReadyToRun (14)
Compiler\DependencyAnalysis\ReadyToRun\GCRefMapBuilder.cs (1)
118
objectTypeHandle: new TypeHandle(context.GetWellKnownType(WellKnownType.
Object
)),
Compiler\R2RTypeExtensions.cs (1)
27
if (type.BaseType != type.Context.GetWellKnownType(WellKnownType.
Object
)) // Only types that derive directly from Object can be non-versionable
IBC\IBCProfileParser.cs (1)
505
return context.GetWellKnownType(WellKnownType.
Object
);
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2521
else if (!originalMethod.IsVirtual && originalMethod.Context.GetWellKnownType(WellKnownType.
Object
) == originalMethod.OwningType)
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (1)
246
public override MetadataType BaseType => (MetadataType)Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\Compiler\Dataflow\TypeExtensions.cs (1)
46
ILLinkSharedWellKnownType.System_Object => type.IsWellKnownType(TypeSystemWellKnownType.
Object
),
parent\parent\Common\Compiler\TypeExtensions.cs (3)
289
return ta.Context.GetWellKnownType(WellKnownType.
Object
);
671
return type.Context.GetWellKnownType(WellKnownType.
Object
);
768
return constrainedType ?? genericParam.Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
3021
return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.
Object
));
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
48
TypeDesc objectType = Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
42
ceArgType = method.Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\IL\Stubs\RuntimeHelpersIntrinsics.cs (1)
71
MethodDesc objectEquals = mdType.Context.GetWellKnownType(WellKnownType.
Object
).GetMethod("Equals"u8, null);
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
21
&& !baseType.IsWellKnownType(WellKnownType.
Object
)
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
3021
return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.
Object
));
ILCompiler.TypeSystem (9)
parent\parent\Common\TypeSystem\Canon\CanonTypes.cs (1)
99
return (MetadataType)Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (1)
380
if (!typeConstraint.IsWellKnownType(WellKnownType.
Object
) &&
parent\parent\Common\TypeSystem\Common\MetadataTypeSystemContext.cs (1)
75
MetadataType type = systemModule.GetType("System"u8, System.Text.Encoding.UTF8.GetBytes(s_wellKnownTypeNames[typeIndex]), throwIfNotFound: typeIndex == (int)WellKnownType.
Object
);
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (2)
110
case WellKnownType.
Object
:
286
return this.IsWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureEncoder.cs (1)
157
else if (type == type.Context.GetWellKnownType(WellKnownType.
Object
))
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (1)
145
return GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\Ecma\EcmaType.cs (1)
414
TypeDesc objectType = Context.GetWellKnownType(WellKnownType.
Object
);
parent\parent\Common\TypeSystem\Ecma\PrimitiveTypeProvider.cs (1)
42
wkt = WellKnownType.
Object
;