Compiler\DependencyAnalysis\EETypeNode.cs (10)
94_hasConditionalDependenciesFromMetadataManager = factory.MetadataManager.HasConditionalDependenciesDueToEETypePresence(type);
320factory.MetadataManager.GetConditionalDependenciesDueToEETypePresence(sink, factory, _type, allocated: EmitVirtualSlots);
414factory.MetadataManager.NoteOverridingMethod(decl, impl);
417factory.MetadataManager.GetDependenciesForOverridingMethod(sink, factory, decl, impl);
516factory.MetadataManager.NoteOverridingMethod(interfaceMethod, implMethod, origin);
518factory.MetadataManager.GetDependenciesForOverridingMethod(sink, factory, interfaceMethod, implMethod);
552factory.MetadataManager.NoteOverridingMethod(interfaceMethod, implMethod);
554factory.MetadataManager.GetDependenciesForOverridingMethod(sink, factory, interfaceMethod, implMethod);
660factory.MetadataManager.GetDependenciesDueToEETypePresence(sink, factory, _type);
1116&& factory.MetadataManager.IsTypeInstantiationReflectionVisible(_type))
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (5)
37foreach (DispatchCellNode node in new SortedSet<DispatchCellNode>(factory.MetadataManager.GetDispatchCells(), new DispatchCellInfoComparer()))
64int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, GetMethodForMetadata(targetMethod, out bool isAsyncVariant));
108factory.MetadataManager.GetDependenciesDueToMethodCodePresence(dependencies, factory, canonMethod, methodIL: null);
110factory.MetadataManager.AddDependenciesDueToVirtualMethodReflectability(dependencies, factory, targetMethod);
112factory.MetadataManager.AddNativeLayoutMetadataDependencies(dependencies, factory, GetMethodForMetadata(targetMethod, out _));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (24)
52context.MetadataManager.NativeLayoutInfo.AddVertexNodeToNativeLayout(this);
60return factory.MetadataManager.NativeLayoutInfo.Writer;
151context.MetadataManager.AddNativeLayoutMetadataDependencies(sink, context, GetMethodForMetadata(_method, out _, out _));
175uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.GetIndex(eetypeNode);
200fptrReferenceId = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.GetIndex(methodEntryPointNode);
203int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, methodForToken);
232uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.GetIndex(eetypeNode);
294return factory.MetadataManager.NativeLayoutInfo.SignaturesSection.Place(signature);
485uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.GetIndex(eetypeNode);
511uint symbolIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.GetIndex(_symbol);
541return SetSavedVertex(factory.MetadataManager.NativeLayoutInfo.SignaturesSection.Place(signature));
576return SetSavedVertex(factory.MetadataManager.NativeLayoutInfo.SignaturesSection.Place(sequence));
612return SetSavedVertex(factory.MetadataManager.NativeLayoutInfo.SignaturesSection.Place(sequence));
647return SetSavedVertex(factory.MetadataManager.NativeLayoutInfo.TemplatesSection.Place(methodEntryVertex));
766return SetSavedVertex(factory.MetadataManager.NativeLayoutInfo.SignaturesSection.Place(signatureWithContextKind));
837factory.MetadataManager.NativeLayoutInfo.TemplatesSection.Place(layoutInfo);
1009uint cctorStaticsIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.GetIndex(cctorSymbol);
1023uint gcStaticsSymbolIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.GetIndex(staticsDescSymbol);
1031uint threadStaticsSymbolIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.GetIndex(threadStaticsDescSymbol);
1040factory.MetadataManager.NativeLayoutInfo.TemplatesSection.Place(layoutInfo);
1268factory.MetadataManager.AddNativeLayoutMetadataDependencies(sink, factory, GvmDispatchCellInfoSectionNode.GetMethodForMetadata(_method, out _));
1341factory.MetadataManager.GetDependenciesDueToLdToken(sink, factory, canonField);
1348(uint)factory.MetadataManager.GetMetadataHandleForField(factory, _field.GetTypicalFieldDefinition()));
1380factory.MetadataManager.GetDependenciesDueToLdToken(sink, factory, _method.GetCanonMethodTarget(CanonicalFormKind.Specific));
Compiler\DependencyAnalysis\ReadyToRunHelperNode.cs (4)
128factory.MetadataManager.AddDependenciesDueToVirtualMethodReflectability(sink, factory, targetMethod);
146factory.MetadataManager.AddDependenciesDueToVirtualMethodReflectability(sink, factory, targetMethod);
156factory.MetadataManager.GetDependenciesDueToDelegateCreation(sink, factory, info.DelegateType,
167factory.MetadataManager.GetConditionalDependenciesDueToDelegateCreation(sink, factory, info.DelegateType, info.PossiblyUnresolvedTargetMethod);
IL\ILImporter.Scanner.cs (10)
553_compilation.NodeFactory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _compilation.NodeFactory, _canonMethodIL, method);
772_factory.MetadataManager.NoteOverridingMethod(method, directMethod);
1202if (!_factory.MetadataManager.IsReflectionBlocked(typeEqualityCheckType)
1302_factory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _factory, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1342_factory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _factory, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1366_factory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _factory, _methodIL, (MethodDesc)_canonMethodIL.GetObject(token));
1383_factory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _factory, _methodIL, (FieldDesc)_canonMethodIL.GetObject(token));
1438_compilation.NodeFactory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _compilation.NodeFactory, _canonMethodIL, canonField);
1592_factory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _factory, _methodIL, typeForAccessCheck);
1621_factory.MetadataManager.GetDependenciesDueToAccess(_dependencies, _factory, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));