Implemented interface member:
method
Add
ILCompiler.DependencyAnalysisFramework.DependencyNodeCore<DependencyContextType>.IDependencySink.Add(System.Object, System.String)
78 references to Add
ILCompiler.Compiler (74)
Compiler\DependencyAnalysis\AnalyzedExternalTypeMapNode.cs (1)
40
sink.
Add
(context.MetadataTypeSymbol(targetType), "Analyzed external type map entry target type");
Compiler\DependencyAnalysis\AnalyzedProxyTypeMapNode.cs (2)
40
sink.
Add
(context.MaximallyConstructableType(sourceType), "Analyzed proxy type map entry source type");
41
sink.
Add
(context.MetadataTypeSymbol(proxyType), "Analyzed proxy type map entry proxy type");
Compiler\DependencyAnalysis\ConstructedEETypeNode.cs (3)
40
sink.
Add
(factory.MetadataTypeSymbol(_type), "MetadataType for constructed type");
48
sink.
Add
(factory.ConstructedTypeSymbol(_type.BaseType), "Array base type");
55
sink.
Add
(factory.ConstructedTypeSymbol(arrayType.ElementType.MakeArrayType()), "Rank 1 array");
Compiler\DependencyAnalysis\EETypeNode.cs (3)
603
sink.
Add
(maximallyConstructableType, "Type is template-loadable");
626
sink.
Add
(factory.ConstructedTypeSymbol(canonicalType), "Type with generic virtual methods");
650
sink.
Add
(factory.MethodEntrypoint(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\ExternalTypeMapNode.cs (1)
63
sink.
Add
(
Compiler\DependencyAnalysis\FrozenObjectNode.cs (1)
57
sink.
Add
(reloc.Target, "reloc");
Compiler\DependencyAnalysis\FunctionPointerMapNode.cs (2)
40
dependencies.
Add
(factory.NecessaryTypeSymbol(type.Signature.ReturnType), "Function pointer type composition");
42
dependencies.
Add
(factory.NecessaryTypeSymbol(paramType), "Function pointer type composition");
Compiler\DependencyAnalysis\GenericDefinitionEETypeNode.cs (1)
106
sink.
Add
(factory.NecessaryTypeSymbol(_type), "Reflection invisible type for a visible type");
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (1)
51
sink.
Add
(factory.MethodEntrypoint(_method, getUnboxingStub), "GVM Dependency - Canon method");
Compiler\DependencyAnalysis\GenericVirtualMethodTableNode.cs (2)
56
dependencies.
Add
(factory.NecessaryTypeSymbol(openCallingMethod.OwningType), "Owning type of GVM declaration");
58
dependencies.
Add
(factory.NecessaryTypeSymbol(openImplementationMethod.OwningType), "Owning type of GVM implementation");
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (2)
114
dependencies.
Add
(factory.MaximallyConstructableType(targetMethod.OwningType), "Owning type of GVM decl");
115
dependencies.
Add
(factory.MetadataEnabledGenericComposition(targetMethod.Instantiation), "GVM instantiation info");
Compiler\DependencyAnalysis\InterfaceDispatchCellInfoSectionNode.cs (1)
102
dependencies.
Add
(GetInterfaceTypeNode(factory, targetMethod), "Interface type");
Compiler\DependencyAnalysis\InvalidExternalTypeMapNode.cs (1)
26
sink.
Add
(context.MethodEntrypoint(ThrowingMethodStub), "Throwing method stub for invalid type map");
Compiler\DependencyAnalysis\InvalidProxyTypeMapNode.cs (1)
29
sink.
Add
(context.MethodEntrypoint(ThrowingMethodStub), "Throwing method stub for invalid type map");
Compiler\DependencyAnalysis\MetadataEETypeNode.cs (5)
39
sink.
Add
(factory.NecessaryTypeSymbol(_type), "NecessaryType for metadata type");
50
sink.
Add
(factory.MaximallyConstructableType(_type), "Reflection visible valuetype");
54
sink.
Add
(factory.MaximallyConstructableType(_type), "Reflection visible delegate");
58
sink.
Add
(factory.MaximallyConstructableType(_type), "Reflection visible array");
76
sink.
Add
(factory.MaximallyConstructableType(_type), "Has static virtual methods");
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (27)
476
sink.
Add
(
504
sink.
Add
(_symbol, "NativeLayoutISymbolNodeReferenceVertexNode containing symbol");
791
sink.
Add
(dependency, "method OwningType itself must be template loadable");
798
sink.
Add
(dependency, "method's instantiation arguments must be template loadable");
899
sink.
Add
(typeNode, "Template MethodTable");
903
sink.
Add
(dependency, "type itslef must be template loadable");
914
sink.
Add
(dependency, "interface type dependency must be template loadable");
920
sink.
Add
(context.MethodEntrypoint(_type.GetStaticConstructor().GetCanonMethodTarget(CanonicalFormKind.Specific)), "cctor for template");
935
sink.
Add
(GetStaticsNode(context, out _), "type gc static info");
940
sink.
Add
(GetThreadStaticsNode(context, out _), "type thread static info");
948
sink.
Add
(context.MaximallyConstructableType(baseType), "base types of canonical types must have their full vtables");
959
sink.
Add
(dependency, "base type must be template loadable");
1081
sink.
Add
(dependency, "template construction dependency");
1169
sink.
Add
(dependency, "template construction dependency");
1223
sink.
Add
(dependency, "template construction dependency");
1257
sink.
Add
(dependency, "template construction dependency for method OwningType");
1263
sink.
Add
(dependency, "template construction dependency for method Instantiation types");
1295
sink.
Add
(dependency, "template construction dependency for method OwningType");
1301
sink.
Add
(dependency, "template construction dependency for method Instantiation types");
1336
sink.
Add
(dependency, "template construction dependency");
1371
sink.
Add
(dependency, "template construction dependency for method OwningType");
1377
sink.
Add
(dependency, "template construction dependency for method Instantiation types");
1450
sink.
Add
(dependency, "template construction dependency constrainedMethod OwningType");
1456
sink.
Add
(dependency, "template construction dependency constrainedMethod Instantiation type");
1460
sink.
Add
(dependency, "template construction dependency constraintType");
1530
sink.
Add
(dependency, "template construction dependency for method OwningType");
1536
sink.
Add
(dependency, "template construction dependency for method Instantiation types");
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (1)
206
sink.
Add
(dependency, reason);
Compiler\DependencyAnalysis\ReflectedFieldNode.cs (5)
59
sink.
Add
(factory.MaximallyConstructableType(_field.OwningType), "Instance base of a reflectable field");
73
sink.
Add
(factory.TypeThreadStaticIndex(_field.OwningType), "Threadstatic base of a reflectable field");
77
sink.
Add
(factory.TypeGCStaticsSymbol(_field.OwningType), "GC static base of a reflectable field");
81
sink.
Add
(factory.TypeNonGCStaticsSymbol(_field.OwningType), "NonGC static base of a reflectable field");
87
sink.
Add
(factory.TypeNonGCStaticsSymbol(_field.OwningType), "CCtor context");
Compiler\DependencyAnalysis\ReflectedTypeNode.cs (1)
37
sink.
Add
(factory.MaximallyConstructableType(_type), "Reflection target");
Compiler\DependencyAnalysis\StaticsInfoHashtableNode.cs (3)
52
dependencies.
Add
(factory.TypeGCStaticsSymbol(metadataType), "GC statics indirection for StaticsInfoHashtable");
59
dependencies.
Add
(factory.TypeNonGCStaticsSymbol(metadataType), "Non-GC statics indirection for StaticsInfoHashtable");
64
dependencies.
Add
(factory.TypeThreadStaticIndex(metadataType), "Threadstatics indirection for StaticsInfoHashtable");
Compiler\DependencyAnalysis\StringAllocatorMethodNode.cs (2)
51
sink.
Add
(
54
sink.
Add
(
Compiler\DependencyAnalysis\StructMarshallingDataNode.cs (4)
31
sink.
Add
(factory.NecessaryTypeSymbol(_type), "Struct Marshalling Stub");
37
sink.
Add
(factory.MethodEntrypoint(stateManager.GetStructMarshallingManagedToNativeThunk(_type)), "Struct Marshalling stub");
38
sink.
Add
(factory.MethodEntrypoint(stateManager.GetStructMarshallingNativeToManagedThunk(_type)), "Struct Marshalling stub");
39
sink.
Add
(factory.MethodEntrypoint(stateManager.GetStructMarshallingCleanupThunk(_type)), "Struct Marshalling stub");
Compiler\DependencyAnalysis\TypeThreadStaticIndexNode.cs (1)
50
sink.
Add
(node, "Thread static storage");
Compiler\UnmanagedEntryPointsRootProvider.cs (1)
155
sink.
Add
(methodEntryPoint, reason);
Compiler\UsageBasedMetadataManager.cs (1)
362
var rootProvider = new RootingServiceProvider(factory, dependencies.
Add
);
parent\parent\Common\Compiler\DependencyAnalysis\ObjectNode.cs (1)
65
sink.
Add
(reloc.Target, "reloc");
ILCompiler.ReadyToRun (4)
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadHelperMethodImport.cs (1)
61
sink.
Add
(canonMethodNode, "Canonical method for instantiating stub");
Compiler\DependencyAnalysis\ReadyToRun\DelegateCtorSignature.cs (1)
69
sink.
Add
(_targetMethod, "Delegate target method");
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (1)
279
sink.
Add
(node, "classMustBeLoadedBeforeCodeIsRun");
parent\parent\Common\Compiler\DependencyAnalysis\ObjectNode.cs (1)
65
sink.
Add
(reloc.Target, "reloc");