17 references to ImmutableCustomTags
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UseThrowExpression\UseThrowExpressionCodeFixProvider.cs (1)
31
=> !diagnostic.Descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (1)
47
=> descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary) && descriptor.DefaultSeverity == DiagnosticSeverity.Hidden;
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryPatternParenthesesTests.cs (1)
40
=> descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary) && descriptor.DefaultSeverity == DiagnosticSeverity.Hidden;
Microsoft.CodeAnalysis.Features (6)
CodeFixes\Suppression\SuppressionHelpers.cs (3)
69
=> HasCustomTag(diagnostic.Descriptor.
ImmutableCustomTags
(), WellKnownDiagnosticTags.NotConfigurable);
75
=> HasCustomTag(diagnostic.Descriptor.
ImmutableCustomTags
(), WellKnownDiagnosticTags.Compiler);
81
=> HasCustomTag(diagnostic.Descriptor.
ImmutableCustomTags
(), SynthesizedExternalSourceDiagnosticTag);
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (1)
28
=> !diagnostic.Descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary);
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
29
=> !diagnostic.Descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary);
src\Analyzers\Core\CodeFixes\UseCollectionExpression\AbstractUseCollectionExpressionCodeFixProvider.cs (1)
30
if (diagnostic.Descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary))
Microsoft.CodeAnalysis.Workspaces (8)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (1)
185
descriptors.Length > 0 && descriptors[0].
ImmutableCustomTags
().Any(static t => t == WellKnownDiagnosticTags.Telemetry);
Diagnostics\DiagnosticData.cs (1)
247
diagnostic.Descriptor.
ImmutableCustomTags
(),
Shared\Extensions\TelemetryExtensions.cs (1)
56
if (diagnostic.Descriptor.
ImmutableCustomTags
().Any(static t => t == WellKnownDiagnosticTags.Telemetry))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (4)
113
descriptor.
ImmutableCustomTags
().Any(static tag => tag is WellKnownDiagnosticTags.Compiler or WellKnownDiagnosticTags.NotConfigurable))
180
descriptor.
ImmutableCustomTags
().Any(static tag => tag is WellKnownDiagnosticTags.Compiler or WellKnownDiagnosticTags.NotConfigurable))
224
descriptor.
ImmutableCustomTags
().Any(static tag => tag is WellKnownDiagnosticTags.Compiler or WellKnownDiagnosticTags.NotConfigurable))
252
=> descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.CompilationEnd);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\ForkingSyntaxEditorBasedCodeFixProvider.cs (1)
46
=> !diagnostic.Descriptor.
ImmutableCustomTags
().Contains(WellKnownDiagnosticTags.Unnecessary);