4 references to AddUsingDirectives
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (1)
95
var newNamespace = firstOuterNamespaceWithUsings.
AddUsingDirectives
(usingDirectives, placeSystemNamespaceFirst, annotations);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (3)
146
rewritten = rewritten.
AddUsingDirectives
(_aliasDirectives, _options.PlaceSystemNamespaceFirst);
151
rewritten = rewritten.
AddUsingDirectives
(_usingDirectives, _options.PlaceSystemNamespaceFirst);
156
rewritten = rewritten.
AddUsingDirectives
(_staticUsingDirectives, _options.PlaceSystemNamespaceFirst);