1 instantiation of BoundPositionalSubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8344var 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)
616public 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)
8148public 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) 8168public ImmutableArray<BoundPositionalSubpattern> Deconstruction { get; } 8175public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<BoundPropertySubpattern> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType) 8272public BoundITuplePattern(SyntaxNode syntax, MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<BoundPositionalSubpattern> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType, bool hasErrors = false) 8293public ImmutableArray<BoundPositionalSubpattern> Subpatterns { get; } 8298public BoundITuplePattern Update(MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<BoundPositionalSubpattern> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType) 8340public BoundPositionalSubpattern Update(Symbol? symbol, BoundPattern pattern) 8344var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.HasErrors); 9302return VisitPositionalSubpattern((BoundPositionalSubpattern)node, arg); 9557public virtual R VisitPositionalSubpattern(BoundPositionalSubpattern node, A arg) => this.DefaultVisit(node, arg); 9793public virtual BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) => this.DefaultVisit(node); 10754public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) 12114ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 12145ImmutableArray<BoundPositionalSubpattern> subpatterns = this.VisitList(node.Subpatterns); 12150public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) 14779ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 14816ImmutableArray<BoundPositionalSubpattern> subpatterns = this.VisitList(node.Subpatterns); 14820public override BoundNode? VisitPositionalSubpattern(BoundPositionalSubpattern node) 17021public override TreeDumperNode VisitPositionalSubpattern(BoundPositionalSubpattern node, object? arg) => new TreeDumperNode("positionalSubpattern", null, new TreeDumperNode[]