8 references to RemoveUnnecessaryImportsConstants
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (2)
239
VerifyCS.Diagnostic(
RemoveUnnecessaryImportsConstants
.IDE0005_gen).WithSpan(@"Microsoft.CodeAnalysis.Test.Utilities\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Component.razor.g.cs", 1, 1, 1, 14),
241
VerifyCS.Diagnostic(
RemoveUnnecessaryImportsConstants
.DiagnosticFixableId).WithSpan(@"Microsoft.CodeAnalysis.Test.Utilities\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Component.razor.g.cs", 1, 1, 2, 34),
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\Constants.cs (2)
20
public const string RemoveUnnecessaryImportsFixable =
RemoveUnnecessaryImportsConstants
.DiagnosticFixableId;
21
public const string IDE0005_gen =
RemoveUnnecessaryImportsConstants
.IDE0005_gen;
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (2)
331
if (id == RemoveUnnecessaryImports.
RemoveUnnecessaryImportsConstants
.DiagnosticFixableId ||
332
id == RemoveUnnecessaryImports.
RemoveUnnecessaryImportsConstants
.IDE0005_gen)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
31
RemoveUnnecessaryImportsConstants
.DiagnosticFixableId, EnforceOnBuild.Never, hasAnyCodeStyleOption: false, "", "", isConfigurable: false);
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
22
=> [
RemoveUnnecessaryImportsConstants
.DiagnosticFixableId];