31 references to ImmutableCustomTags
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (4)
AbstractCodeActionOrUserDiagnosticTest.cs (1)
500if (diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary))
AbstractDiagnosticProviderBasedUserDiagnosticTest.cs (3)
55if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)) 80if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)) 243var analyzerExceptionDiagnostics = diagnostics.Where(diag => diag.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.AnalyzerException));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
RemoveUnnecessaryExpressionParenthesesTests.cs (1)
48=> descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary) && descriptor.DefaultSeverity == DiagnosticSeverity.Hidden;
RemoveUnnecessaryPatternParenthesesTests.cs (1)
46=> descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary) && descriptor.DefaultSeverity == DiagnosticSeverity.Hidden;
Microsoft.CodeAnalysis.CSharp.Features (1)
UseThrowExpressionCodeFixProvider.cs (1)
37=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (6)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (1)
500if (diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary))
CodeActions\CodeFixVerifierHelper.cs (2)
49if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)) 76if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable))
Diagnostics\AbstractDiagnosticProviderBasedUserDiagnosticTest.cs (3)
55if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)) 80if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)) 243var analyzerExceptionDiagnostics = diagnostics.Where(diag => diag.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.AnalyzerException));
Microsoft.CodeAnalysis.Features (8)
AbstractUseCollectionInitializerCodeFixProvider.cs (1)
45=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
AbstractUseNullPropagationCodeFixProvider.cs (1)
60=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
AbstractUseObjectInitializerCodeFixProvider.cs (1)
43=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
CodeFixes\Suppression\SuppressionHelpers.cs (3)
73=> HasCustomTag(diagnostic.Descriptor.ImmutableCustomTags(), WellKnownDiagnosticTags.NotConfigurable); 79=> HasCustomTag(diagnostic.Descriptor.ImmutableCustomTags(), WellKnownDiagnosticTags.Compiler); 85=> HasCustomTag(diagnostic.Descriptor.ImmutableCustomTags(), SynthesizedExternalSourceDiagnosticTag);
UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (1)
33=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
34=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_BuildSynchronization.cs (1)
178descriptor.ImmutableCustomTags(),
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
RemoveUnnecessaryParenthesesTests.vb (1)
34Return descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary) And descriptor.DefaultSeverity = DiagnosticSeverity.Hidden
Microsoft.CodeAnalysis.Workspaces (7)
DiagnosticDescriptorExtensions.cs (4)
74descriptor.ImmutableCustomTags().Any(static tag => tag is WellKnownDiagnosticTags.Compiler or WellKnownDiagnosticTags.NotConfigurable)) 116descriptor.ImmutableCustomTags().Any(static tag => tag is WellKnownDiagnosticTags.Compiler or WellKnownDiagnosticTags.NotConfigurable)) 160descriptor.ImmutableCustomTags().Any(static tag => tag is WellKnownDiagnosticTags.Compiler or WellKnownDiagnosticTags.NotConfigurable)) 188=> descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.CompilationEnd);
Diagnostics\DiagnosticAnalyzerInfoCache.cs (1)
139descriptors.Length > 0 && descriptors[0].ImmutableCustomTags().Any(static t => t == WellKnownDiagnosticTags.Telemetry);
Diagnostics\DiagnosticData.cs (1)
261diagnostic.Descriptor.ImmutableCustomTags(),
Shared\Extensions\TelemetryExtensions.cs (1)
56if (diagnostic.Descriptor.ImmutableCustomTags().Any(static t => t == WellKnownDiagnosticTags.Telemetry))
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\AnalyzersCommandHandler.cs (1)
327var configurable = !_tracker.SelectedDiagnosticItems.Any(static item => item.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable));