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