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