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