1 instantiation of BoundPositionalSubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8323
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)
591
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)
8135
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)
8151
public ImmutableArray<
BoundPositionalSubpattern
> Deconstruction { get; }
8158
public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<
BoundPositionalSubpattern
> deconstruction, ImmutableArray<BoundPropertySubpattern> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8255
public BoundITuplePattern(SyntaxNode syntax, MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<
BoundPositionalSubpattern
> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType, bool hasErrors = false)
8272
public ImmutableArray<
BoundPositionalSubpattern
> Subpatterns { get; }
8277
public BoundITuplePattern Update(MethodSymbol getLengthMethod, MethodSymbol getItemMethod, ImmutableArray<
BoundPositionalSubpattern
> subpatterns, TypeSymbol inputType, TypeSymbol narrowedType)
8319
public
BoundPositionalSubpattern
Update(Symbol? symbol, BoundPattern pattern)
8323
var
result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.HasErrors);
9265
return VisitPositionalSubpattern((
BoundPositionalSubpattern
)node, arg);
9520
public virtual R VisitPositionalSubpattern(
BoundPositionalSubpattern
node, A arg) => this.DefaultVisit(node, arg);
9756
public virtual BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node) => this.DefaultVisit(node);
10717
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
12077
ImmutableArray<
BoundPositionalSubpattern
> deconstruction = this.VisitList(node.Deconstruction);
12108
ImmutableArray<
BoundPositionalSubpattern
> subpatterns = this.VisitList(node.Subpatterns);
12113
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
14742
ImmutableArray<
BoundPositionalSubpattern
> deconstruction = this.VisitList(node.Deconstruction);
14779
ImmutableArray<
BoundPositionalSubpattern
> subpatterns = this.VisitList(node.Subpatterns);
14783
public override BoundNode? VisitPositionalSubpattern(
BoundPositionalSubpattern
node)
16984
public override TreeDumperNode VisitPositionalSubpattern(
BoundPositionalSubpattern
node, object? arg) => new TreeDumperNode("positionalSubpattern", null, new TreeDumperNode[]