1 write to _options
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (1)
123
_options
= options;
8 references to _options
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (8)
143
if (!node.CanAddUsingDirectives(
_options
.AllowInHiddenRegions, _cancellationToken))
150
rewritten = rewritten.AddUsingDirectives(_aliasDirectives,
_options
.PlaceSystemNamespaceFirst);
155
rewritten = rewritten.AddUsingDirectives(_usingDirectives,
_options
.PlaceSystemNamespaceFirst);
160
rewritten = rewritten.AddUsingDirectives(_staticUsingDirectives,
_options
.PlaceSystemNamespaceFirst);
176
if (!node.CanAddUsingDirectives(
_options
.AllowInHiddenRegions, _cancellationToken))
183
rewritten = rewritten.AddUsingDirectives(_aliasDirectives,
_options
.PlaceSystemNamespaceFirst);
188
rewritten = rewritten.AddUsingDirectives(_usingDirectives,
_options
.PlaceSystemNamespaceFirst);
193
rewritten = rewritten.AddUsingDirectives(_staticUsingDirectives,
_options
.PlaceSystemNamespaceFirst);