6 references to WithAddImportsAnnotation
Roslyn.Diagnostics.Analyzers (6)
AbstractRunIterations`1.cs (1)
106
updatedMethod = syntaxGenerator.AddAttributes(updatedMethod, syntaxGenerator.Attribute(WellKnownTypeNames.XunitCombinatorialDataAttribute).
WithAddImportsAnnotation
());
ExportedPartsShouldHaveImportingConstructorCodeFixProvider.cs (2)
117
importingConstructor = generator.AddAttributes(importingConstructor, generator.Attribute(generator.TypeExpression(importingConstructorAttributeSymbol).
WithAddImportsAnnotation
()));
203
var newDeclaration = generator.AddAttributes(declaration, generator.Attribute(generator.TypeExpression(importingConstructorAttributeSymbol).
WithAddImportsAnnotation
()));
ImportingConstructorShouldBeObsoleteCodeFixProvider.cs (2)
108
generator.TypeExpression(obsoleteAttributeSymbol).
WithAddImportsAnnotation
(),
215
generator.TypeExpression(mefConstructionType).
WithAddImportsAnnotation
(),
TestExportsShouldNotBeDiscoverableCodeFixProvider.cs (1)
101
var newDeclaration = generator.AddAttributes(declaration, generator.Attribute(generator.TypeExpression(partNotDiscoverableAttributeSymbol).
WithAddImportsAnnotation
()));