12 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\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
88editor.AddAttribute(container,
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\AddAttributesTests.cs (1)
54editor.AddAttribute(syntaxRoot, attributeList);
CodeGeneration\AddImportsTests.cs (1)
881editor.AddAttribute(p1SyntaxNode, attributeSyntax);
Microsoft.CodeAnalysis.Features (2)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
156editor.AddAttribute(type, newAttribute);
src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
88editor.AddAttribute(container,
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Editing\SyntaxEditorTests.cs (2)
229editor.AddAttribute(param, attribute); 271editor.AddAttribute(typeParam, attribute);
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\AddMarshalAsToElementFixer.cs (1)
64editor.AddAttribute(node, marshalAsAttribute);