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