15 references to ImmutableCustomTags
Microsoft.CodeAnalysis.CodeStyle (4)
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);
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
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);
UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (1)
33=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
34=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (2)
CodeFixVerifierHelper.cs (2)
49if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)) 76if (descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
UseThrowExpressionCodeFixProvider.cs (1)
37=> !diagnostic.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary);
Microsoft.CodeAnalysis.CSharp.CodeStyle.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.VisualBasic.CodeStyle.UnitTests (1)
RemoveUnnecessaryParenthesesTests.vb (1)
34Return descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.Unnecessary) And descriptor.DefaultSeverity = DiagnosticSeverity.Hidden