1 write to Pattern
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
169=> Pattern = pattern;
7 references to Pattern
Microsoft.CodeAnalysis.CSharp.Features (7)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (3)
188Not p => p.Pattern, // Avoid double negative 191=> Binary.TryCreate(left.Pattern, right.Pattern, !p.IsDisjunctive, p.Token),
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (3)
114return HasIllegalPatternVariables(p.Pattern, permitDesignations: isTopLevel); 145Not { Pattern: Constant } => true, 146Not { Pattern: Source { PatternSyntax: ConstantPatternSyntax } } => true,
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
104Not p => UnaryPattern(AsPatternSyntax(p.Pattern).Parenthesize()),