public override void Visit(CommonPEModuleBuilder module) { //EDMAURER visit these assembly-level attributes even when producing a module. //They'll be attached off the "AssemblyAttributesGoHere" typeRef if a module is being produced. this.Visit(module.GetSourceAssemblyAttributes()); this.Visit(module.GetSourceAssemblySecurityAttributes()); this.Visit(module.GetSourceModuleAttributes()); }
public override void Visit(CommonPEModuleBuilder module) { //EDMAURER visit these assembly-level attributes even when producing a module. //They'll be attached off the "AssemblyAttributesGoHere" typeRef if a module is being produced. this.Visit(module.GetSourceAssemblyAttributes(Context.IsRefAssembly)); this.Visit(module.GetSourceAssemblySecurityAttributes()); this.Visit(module.GetSourceModuleAttributes()); }
public override void Visit(CommonPEModuleBuilder module) { // Visit these assembly-level attributes even when producing a module. // They'll be attached off the "AssemblyAttributesGoHere" typeRef if a module is being produced. Visit(module.GetSourceAssemblyAttributes(Context.IsRefAssembly)); Visit(module.GetSourceAssemblySecurityAttributes()); Visit(module.GetAssemblyReferences(Context)); Visit(module.GetSourceModuleAttributes()); Visit(module.GetTopLevelTypes(Context)); foreach (var exportedType in module.GetExportedTypes(Context.Diagnostics)) { VisitExportedType(exportedType.Type); } Visit(module.GetResources(Context)); VisitImports(module.GetImports()); Visit(module.GetFiles(Context)); }
public override void Visit(CommonPEModuleBuilder module) { // Visit these assembly-level attributes even when producing a module. // They'll be attached off the "AssemblyAttributesGoHere" typeRef if a module is being produced. Visit(module.GetSourceAssemblyAttributes()); Visit(module.GetSourceAssemblySecurityAttributes()); Visit(module.GetAssemblyReferences(Context)); Visit(module.GetSourceModuleAttributes()); Visit(module.GetTopLevelTypes(Context)); foreach (var exportedType in module.GetExportedTypes(Context.Diagnostics)) { VisitExportedType(exportedType.Type); } Visit(module.GetResources(Context)); VisitImports(module.GetImports()); Visit(module.GetFiles(Context)); }