10 references to AddDependenciesDueToCustomAttributes
ILCompiler.Compiler (10)
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (10)
41AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "Method"u8), factory, method.Module, methodDef.GetCustomAttributes(), method); 48AddDependenciesDueToCustomAttributes(dependencies, parameterCondition, factory, method.Module, parameter.GetCustomAttributes(), method); 56AddDependenciesDueToCustomAttributes(dependencies, genericParameterCondition, factory, method.Module, parameter.GetCustomAttributes(), method); 66AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "TypeDefinition"u8), factory, type.Module, typeDef.GetCustomAttributes(), type); 73AddDependenciesDueToCustomAttributes(dependencies, genericParameterCondition, factory, type.Module, parameter.GetCustomAttributes(), type); 80AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "Field"u8), factory, field.Module, fieldDef.GetCustomAttributes(), field); 85AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "Property"u8), factory, property.OwningType.Module, property.GetCustomAttributes, property); 90AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "Event"u8), factory, @event.OwningType.Module, @event.GetCustomAttributes, @event); 96AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "ScopeDefinition"u8), factory, assembly, asmDef.GetCustomAttributes(), assembly); 99AddDependenciesDueToCustomAttributes(dependencies, GetMetadataApiDependency(factory, "ScopeDefinition"u8, "get_ModuleCustomAttributes"u8), factory, assembly, moduleDef.GetCustomAttributes(), assembly);