1 instantiation of BoundDeclarationPattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8138var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.HasErrors);
24 references to BoundDeclarationPattern
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Patterns.cs (1)
89case BoundDeclarationPattern _:
Binder\DecisionDagBuilder.cs (2)
290case BoundDeclarationPattern declaration: 393BoundDeclarationPattern declaration,
Binder\RefSafetyAnalysis.cs (1)
563public override BoundNode? VisitDeclarationPattern(BoundDeclarationPattern node)
FlowAnalysis\AbstractFlowPass.cs (5)
928BoundDeclarationPattern or BoundConstantPattern or BoundNegatedPattern or BoundBinaryPattern or 929BoundDeclarationPattern or BoundDiscardPattern or BoundListPattern or BoundSlicePattern); 988case BoundDeclarationPattern { IsVar: false }: 1019case BoundDeclarationPattern { IsVar: true }: 1071case BoundDeclarationPattern:
FlowAnalysis\DefiniteAssignment.cs (2)
1995var pat = (BoundDeclarationPattern)pattern;
FlowAnalysis\NullableWalker_Patterns.cs (2)
69public override BoundNode VisitDeclarationPattern(BoundDeclarationPattern node) 175case BoundDeclarationPattern _:
Generated\BoundNodes.xml.Generated.cs (9)
8134public BoundDeclarationPattern Update(BoundTypeExpression declaredType, bool isVar, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType) 8138var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.HasErrors); 9292return VisitDeclarationPattern((BoundDeclarationPattern)node, arg); 9552public virtual R VisitDeclarationPattern(BoundDeclarationPattern node, A arg) => this.DefaultVisit(node, arg); 9788public virtual BoundNode? VisitDeclarationPattern(BoundDeclarationPattern node) => this.DefaultVisit(node); 10724public override BoundNode? VisitDeclarationPattern(BoundDeclarationPattern node) 12103public override BoundNode? VisitDeclarationPattern(BoundDeclarationPattern node) 14762public override BoundNode? VisitDeclarationPattern(BoundDeclarationPattern node) 16960public override TreeDumperNode VisitDeclarationPattern(BoundDeclarationPattern node, object? arg) => new TreeDumperNode("declarationPattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
227return CreateBoundDeclarationPatternOperation((BoundDeclarationPattern)boundNode); 2536private IDeclarationPatternOperation CreateBoundDeclarationPatternOperation(BoundDeclarationPattern boundDeclarationPattern)