10 references to AddAttribute
ILLink.CodeFixProvider (2)
BaseAttributeCodeFixProvider.cs (1)
78
editor.
AddAttribute
(attributableNode, attribute);
DynamicallyAccessedMembersCodeFixProvider.cs (1)
154
editor.
AddAttribute
(targetNode, attribute);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
88
editor.
AddAttribute
(container,
Microsoft.CodeAnalysis.Features (2)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
156
editor.
AddAttribute
(type, newAttribute);
src\roslyn\src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
88
editor.
AddAttribute
(container,
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAttributesWithAttributeUsage.Fixer.cs (1)
71
editor.
AddAttribute
(nodeToFix, attribute);
Microsoft.NetCore.Analyzers\Runtime\MarkAllNonSerializableFields.Fixer.cs (2)
64
editor.
AddAttribute
(fieldNode, attr);
79
docEditor.
AddAttribute
(declaration, serializableAttr);
Microsoft.NetCore.Analyzers\Runtime\MarkISerializableTypesWithSerializable.Fixer.cs (1)
52
editor.
AddAttribute
(node, attr);
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\AddMarshalAsToElementFixer.cs (1)
64
editor.
AddAttribute
(node, marshalAsAttribute);