5 references to PatternVariable
Microsoft.CodeAnalysis.CSharp (5)
Binder\ExpressionVariableFinder.cs (1)
621kind: LocalDeclarationKind.PatternVariable,
FlowAnalysis\DefiniteAssignment.cs (1)
2282if (symbol.DeclarationKind != LocalDeclarationKind.PatternVariable && !string.IsNullOrEmpty(symbol.Name)) // avoid diagnostics for parser-inserted names
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
580Debug.Assert(l.LocalSymbol.DeclarationKind == LocalDeclarationKind.PatternVariable);
Symbols\Source\SourceLocalSymbol.cs (2)
551case LocalDeclarationKind.PatternVariable: 812Debug.Assert(declarationKind is LocalDeclarationKind.OutVariable or LocalDeclarationKind.PatternVariable);