1 instantiation of BoundPositionalSubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8344
var result = new
BoundPositionalSubpattern
(this.Syntax, symbol, pattern, this.HasErrors);
35 references to BoundPositionalSubpattern
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder_Patterns.cs (11)
977
ImmutableArray<
BoundPositionalSubpattern
> deconstructionSubpatterns = default;
981
var patternsBuilder = ArrayBuilder<
BoundPositionalSubpattern
>.GetInstance(positionalClause.Subpatterns.Count);
1053
ArrayBuilder<
BoundPositionalSubpattern
> patterns,
1097
var
boundSubpattern = new BoundPositionalSubpattern(
1110
ArrayBuilder<
BoundPositionalSubpattern
> patterns,
1127
var
boundSubpattern = new BoundPositionalSubpattern(
1137
ArrayBuilder<
BoundPositionalSubpattern
> patterns,
1145
var
boundSubpattern = new BoundPositionalSubpattern(
1159
ArrayBuilder<
BoundPositionalSubpattern
> patterns,
1187
BoundPositionalSubpattern
boundSubpattern = new BoundPositionalSubpattern(
1375
var subPatterns = ArrayBuilder<
BoundPositionalSubpattern
>.GetInstance(tupleDesignation.Variables.Count);
Binder\RefSafetyAnalysis.cs (1)
616
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
Compilation\CSharpSemanticModel.cs (1)
1882
case
BoundPositionalSubpattern
subpattern:
FlowAnalysis\DefiniteAssignment.cs (2)
2023
foreach (
var
subpat in pat.Deconstruction)
2055
foreach (
var
subpat in pat.Subpatterns)
FlowAnalysis\NullableWalker_Patterns.cs (1)
42
public override BoundNode VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
Generated\BoundNodes.xml.Generated.cs (19)
8148
public 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)
8168
public ImmutableArray<
BoundPositionalSubpattern
> Deconstruction { get; }
8175
public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<
BoundPositionalSubpattern
> deconstruction, ImmutableArray<BoundPropertySubpattern> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8272
public BoundITuplePattern(SyntaxNode syntax, MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<
BoundPositionalSubpattern
> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType, bool hasErrors = false)
8293
public ImmutableArray<
BoundPositionalSubpattern
> Subpatterns { get; }
8298
public BoundITuplePattern Update(MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<
BoundPositionalSubpattern
> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType)
8340
public
BoundPositionalSubpattern
Update(Symbol? symbol, BoundPattern pattern)
8344
var
result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.HasErrors);
9302
return VisitPositionalSubpattern((
BoundPositionalSubpattern
)node, arg);
9557
public virtual R VisitPositionalSubpattern(
BoundPositionalSubpattern
node, A arg) => this.DefaultVisit(node, arg);
9793
public virtual BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node) => this.DefaultVisit(node);
10754
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
12114
ImmutableArray<
BoundPositionalSubpattern
> deconstruction = this.VisitList(node.Deconstruction);
12145
ImmutableArray<
BoundPositionalSubpattern
> subpatterns = this.VisitList(node.Subpatterns);
12150
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
14779
ImmutableArray<
BoundPositionalSubpattern
> deconstruction = this.VisitList(node.Deconstruction);
14816
ImmutableArray<
BoundPositionalSubpattern
> subpatterns = this.VisitList(node.Subpatterns);
14820
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
17021
public override TreeDumperNode VisitPositionalSubpattern(
BoundPositionalSubpattern
node, object? arg) => new TreeDumperNode("positionalSubpattern", null, new TreeDumperNode[]