8 references to AddAttribute
ILLink.CodeFixProvider (2)
BaseAttributeCodeFixProvider.cs (1)
78editor.AddAttribute(attributableNode, attribute);
DynamicallyAccessedMembersCodeFixProvider.cs (1)
154editor.AddAttribute(targetNode, attribute);
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
AddResponseTypeAttributeCodeFixAction.cs (2)
85documentEditor.AddAttribute(context.MethodSyntax, attributeSyntax); 92documentEditor.AddAttribute(context.MethodSyntax, CreateProducesDefaultResponseTypeAttribute());
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
88editor.AddAttribute(container,
Microsoft.CodeAnalysis.Features (2)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
156editor.AddAttribute(type, newAttribute);
src\roslyn\src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
88editor.AddAttribute(container,
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\AddMarshalAsToElementFixer.cs (1)
64editor.AddAttribute(node, marshalAsAttribute);