1 instantiation of BoundPositionalSubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8323var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.HasErrors);
35 references to BoundPositionalSubpattern
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder_Patterns.cs (11)
977ImmutableArray<BoundPositionalSubpattern> deconstructionSubpatterns = default; 981var patternsBuilder = ArrayBuilder<BoundPositionalSubpattern>.GetInstance(positionalClause.Subpatterns.Count); 1053ArrayBuilder<BoundPositionalSubpattern> patterns, 1097var boundSubpattern = new BoundPositionalSubpattern( 1110ArrayBuilder<BoundPositionalSubpattern> patterns, 1127var boundSubpattern = new BoundPositionalSubpattern( 1137ArrayBuilder<BoundPositionalSubpattern> patterns, 1145var boundSubpattern = new BoundPositionalSubpattern( 1159ArrayBuilder<BoundPositionalSubpattern> patterns, 1187BoundPositionalSubpattern boundSubpattern = new BoundPositionalSubpattern( 1375var subPatterns = ArrayBuilder<BoundPositionalSubpattern>.GetInstance(tupleDesignation.Variables.Count);
Binder\RefSafetyAnalysis.cs (1)
591public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node)
Compilation\CSharpSemanticModel.cs (1)
1882case BoundPositionalSubpattern subpattern:
FlowAnalysis\DefiniteAssignment.cs (2)
2023foreach (var subpat in pat.Deconstruction) 2055foreach (var subpat in pat.Subpatterns)
FlowAnalysis\NullableWalker_Patterns.cs (1)
42public override BoundNode VisitPositionalSubpattern(BoundPositionalSubpattern node)
Generated\BoundNodes.xml.Generated.cs (19)
8135public BoundRecursivePattern(SyntaxNode syntax, BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<BoundPropertySubpattern> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType, bool hasErrors = false) 8151public ImmutableArray<BoundPositionalSubpattern> Deconstruction { get; } 8158public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<BoundPropertySubpattern> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType) 8255public BoundITuplePattern(SyntaxNode syntax, MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<BoundPositionalSubpattern> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType, bool hasErrors = false) 8272public ImmutableArray<BoundPositionalSubpattern> Subpatterns { get; } 8277public BoundITuplePattern Update(MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<BoundPositionalSubpattern> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType) 8319public BoundPositionalSubpattern Update(Symbol? symbol, BoundPattern pattern) 8323var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.HasErrors); 9265return VisitPositionalSubpattern((BoundPositionalSubpattern)node, arg); 9520public virtual R VisitPositionalSubpattern(BoundPositionalSubpattern node, A arg) => this.DefaultVisit(node, arg); 9756public virtual BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) => this.DefaultVisit(node); 10717public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) 12077ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 12108ImmutableArray<BoundPositionalSubpattern> subpatterns = this.VisitList(node.Subpatterns); 12113public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) 14742ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 14779ImmutableArray<BoundPositionalSubpattern> subpatterns = this.VisitList(node.Subpatterns); 14783public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) 16984public override TreeDumperNode VisitPositionalSubpattern(BoundPositionalSubpattern node, object? arg) => new TreeDumperNode("positionalSubpattern", null, new TreeDumperNode[]