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