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