4 references to HasIllegalPatternVariables
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (4)
91if (HasIllegalPatternVariables(pattern, isTopLevel: true)) 112return HasIllegalPatternVariables(p.Pattern, permitDesignations: isTopLevel); 116return HasIllegalPatternVariables(p.Left, permitDesignations) || 117HasIllegalPatternVariables(p.Right, permitDesignations);