13 references to AddMetadataDependencies
ILCompiler.Compiler (13)
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
299TypeMetadataNode.AddMetadataDependencies(dependencies, factory, typeofType, "Custom attribute blob");
Compiler\DependencyAnalysis\FieldMetadataNode.cs (2)
55TypeMetadataNode.AddMetadataDependencies(sink, factory, sigData.type, "Modifier in a field signature"); 58TypeMetadataNode.AddMetadataDependencies(sink, factory, _field.FieldType, "Type of the field");
Compiler\DependencyAnalysis\MethodMetadataNode.cs (3)
58TypeMetadataNode.AddMetadataDependencies(sink, factory, sig.ReturnType, reason); 61TypeMetadataNode.AddMetadataDependencies(sink, factory, paramType, reason); 68TypeMetadataNode.AddMetadataDependencies(sink, factory, sigData.type, "Modifier in a method signature");
Compiler\DependencyAnalysis\TypeMetadataNode.cs (6)
46AddMetadataDependencies(sink, factory, baseType, "Base type of a reflectable type"); 52AddMetadataDependencies(sink, factory, typeConstraint, "Generic parameter constraint of a reflectable type"); 126AddMetadataDependencies(dependencies, nodeFactory, ((ParameterizedType)type).ParameterType, reason); 130AddMetadataDependencies(dependencies, nodeFactory, pointerType.Signature.ReturnType, reason); 132AddMetadataDependencies(dependencies, nodeFactory, paramType, reason); 163AddMetadataDependencies(dependencies, nodeFactory, typeArg, reason);
Compiler\UsageBasedMetadataManager.cs (1)
297TypeMetadataNode.AddMetadataDependencies(dependencies, factory, type, "Reflectable type");