7 references to UseFileScopedNamespaceDiagnosticId
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CodeCleanup\CSharpCodeCleanupService.cs (1)
204
IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
),
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertNamespaceCodeFixProvider.cs (2)
38
=> ImmutableArray.Create(IDEDiagnosticIds.UseBlockScopedNamespaceDiagnosticId, IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
);
48
IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
=> NamespaceDeclarationPreference.FileScoped,
ConvertToFileScopedNamespaceDiagnosticAnalyzer.cs (1)
19
: base(IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
,
Microsoft.VisualStudio.LanguageServices.CSharp (3)
LanguageService\CSharpCodeCleanupFixerDiagnosticIds.cs (3)
271
[FixId(IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
)]
272
[Name(IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
)]
275
[HelpLink($"https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/{IDEDiagnosticIds.
UseFileScopedNamespaceDiagnosticId
}")]