3 instantiations of BoundPatternBinding
Microsoft.CodeAnalysis.CSharp (3)
Binder\DecisionDagBuilder.cs (2)
408
bindings.Add(new
BoundPatternBinding
(variableAccess, input));
600
bindings.Add(new
BoundPatternBinding
(recursive.VariableAccess, input));
Binder\DecisionDagBuilder_ListPatterns.cs (1)
89
bindings.Add(new
BoundPatternBinding
(list.VariableAccess, input));
25 references to BoundPatternBinding
Microsoft.CodeAnalysis.CSharp (25)
Binder\DecisionDagBuilder.cs (16)
191
Tests tests = MakeAndSimplifyTestsAndBindings(input, pattern, out ImmutableArray<
BoundPatternBinding
> bindings);
198
out ImmutableArray<
BoundPatternBinding
> bindings)
200
var bindingsBuilder = ArrayBuilder<
BoundPatternBinding
>.GetInstance();
209
ArrayBuilder<
BoundPatternBinding
> bindingsBuilder)
215
foreach (
BoundPatternBinding
binding in bindingsBuilder)
271
ArrayBuilder<
BoundPatternBinding
> bindings)
285
ArrayBuilder<
BoundPatternBinding
> bindings)
322
ArrayBuilder<
BoundPatternBinding
> bindings)
395
ArrayBuilder<
BoundPatternBinding
> bindings)
520
ArrayBuilder<
BoundPatternBinding
> bindings)
636
private Tests MakeTestsAndBindingsForNegatedPattern(BoundDagTemp input, BoundNegatedPattern neg, ArrayBuilder<
BoundPatternBinding
> bindings)
646
ArrayBuilder<
BoundPatternBinding
> bindings)
671
static Tests makeTestsAndBindingsForBinaryPattern(DecisionDagBuilder @this, Tests leftTests, BoundDagTemp leftOutput, BoundDagTemp input, BoundBinaryPattern bin, out BoundDagTemp output, ArrayBuilder<
BoundPatternBinding
> bindings)
1033
BoundDecisionDagNode finalState(SyntaxNode syntax, LabelSymbol label, ImmutableArray<
BoundPatternBinding
> bindings)
1990
public readonly ImmutableArray<
BoundPatternBinding
> Bindings;
1997
ImmutableArray<
BoundPatternBinding
> Bindings,
Binder\DecisionDagBuilder_ListPatterns.cs (1)
13
private Tests MakeTestsAndBindingsForListPattern(BoundDagTemp input, BoundListPattern list, out BoundDagTemp output, ArrayBuilder<
BoundPatternBinding
> bindings)
FlowAnalysis\NullableWalker_Patterns.cs (1)
672
foreach (
var
binding in w.Bindings)
Generated\BoundNodes.xml.Generated.cs (3)
5112
public BoundWhenDecisionDagNode(SyntaxNode syntax, ImmutableArray<
BoundPatternBinding
> bindings, BoundExpression? whenExpression, BoundDecisionDagNode whenTrue, BoundDecisionDagNode? whenFalse, bool hasErrors = false)
5125
public ImmutableArray<
BoundPatternBinding
> Bindings { get; }
5133
public BoundWhenDecisionDagNode Update(ImmutableArray<
BoundPatternBinding
> bindings, BoundExpression? whenExpression, BoundDecisionDagNode whenTrue, BoundDecisionDagNode? whenFalse)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
1177
void lowerBindings(ImmutableArray<
BoundPatternBinding
> bindings, ArrayBuilder<BoundStatement> sectionBuilder)
1179
foreach (
BoundPatternBinding
binding in bindings)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
541
foreach (
BoundPatternBinding
binding in w.Bindings)
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
285
foreach (
BoundPatternBinding
binding in whenNode.Bindings)