8 references to InsideNamespace
Microsoft.CodeAnalysis.CodeStyle (1)
AddImportPlacementOptions.cs (1)
37
public bool PlaceImportsInsideNamespaces => UsingDirectivePlacement.Value == AddImportPlacement.
InsideNamespace
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpCodeStyleOptions_Parsing.cs (2)
57
"inside_namespace" => new CodeStyleOption2<AddImportPlacement>(AddImportPlacement.
InsideNamespace
, notification),
71
AddImportPlacement.
InsideNamespace
=> $"inside_namespace{notificationString}",
MisplacedUsingDirectivesDiagnosticAnalyzer.cs (1)
71
if (option.Value != AddImportPlacement.
InsideNamespace
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
MisplacedUsingDirectivesCodeFixProvider.cs (2)
152
var newCompilationUnit = placement == AddImportPlacement.
InsideNamespace
395
return (AddImportPlacement.
InsideNamespace
, forcePreservation);
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
MisplacedUsingDirectivesTests.cs (2)
36
new(AddImportPlacement.
InsideNamespace
, NotificationOption2.None);
39
new(AddImportPlacement.
InsideNamespace
, NotificationOption2.Error);