2 references to Constant
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
145
Not { Pattern:
Constant
} => true,
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
100
Constant
p => ConstantPattern(AsExpressionSyntax(p.ExpressionSyntax, p)),