3 instantiations of BoundPatternBinding
Microsoft.CodeAnalysis.CSharp (3)
Binder\DecisionDagBuilder.cs (2)
595bindings.Add(new BoundPatternBinding(variableAccess, input)); 1029bindings.Add(new BoundPatternBinding(recursive.VariableAccess, input));
Binder\DecisionDagBuilder_ListPatterns.cs (1)
95bindings.Add(new BoundPatternBinding(list.VariableAccess, input));
36 references to BoundPatternBinding
Microsoft.CodeAnalysis.CSharp (36)
Binder\DecisionDagBuilder.cs (27)
199Tests tests = MakeAndSimplifyTestsAndBindings(input, pattern, out ImmutableArray<BoundPatternBinding> bindings); 206out ImmutableArray<BoundPatternBinding> bindings) 208var bindingsBuilder = ArrayBuilder<BoundPatternBinding>.GetInstance(); 217ArrayBuilder<BoundPatternBinding> bindingsBuilder) 223foreach (BoundPatternBinding binding in bindingsBuilder) 325ArrayBuilder<BoundPatternBinding> bindings) 362ArrayBuilder<BoundPatternBinding> bindings) 494ArrayBuilder<BoundPatternBinding> bindings) 581ArrayBuilder<BoundPatternBinding> bindings) 928ArrayBuilder<BoundPatternBinding> bindings) 1074private Tests MakeTestsAndBindingsForNegatedPattern(TestInputOutputInfo input, BoundNegatedPattern neg, ArrayBuilder<BoundPatternBinding> bindings) 1084ArrayBuilder<BoundPatternBinding> bindings) 1109Tests makeTestsAndBindingsForBinaryPattern(DecisionDagBuilder @this, Tests leftTests, TestInputOutputInfo leftOutputInfo, TestInputOutputInfo inputInfo, BoundBinaryPattern bin, out TestInputOutputInfo outputInfo, ArrayBuilder<BoundPatternBinding> bindings) 1546foreach (var b in stateForCase.Bindings) 1636BoundDecisionDagNode finalState(SyntaxNode syntax, LabelSymbol label, ImmutableArray<BoundPatternBinding> bindings) 3137public readonly ImmutableArray<BoundPatternBinding> Bindings; 3144ImmutableArray<BoundPatternBinding> Bindings, 3254protected abstract RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e); 3256public Tests RemoveEvaluation(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, BoundDagEvaluation e) 3261protected Tests RemoveEvaluationAndUpdateTempReferences(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3307private static void AddBindingsPatchingAssignments(ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> oldTempMap, ImmutableDictionary<BoundDagTemp, BoundDagTemp> newTempMap, ArrayBuilder<Tests> assignments) 3314foreach (BoundPatternBinding b in bindings) 3370protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3394protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3541protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 4000protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 4121protected sealed override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e)
Binder\DecisionDagBuilder_ListPatterns.cs (1)
14private Tests MakeTestsAndBindingsForListPattern(TestInputOutputInfo inputInfo, BoundListPattern list, out TestInputOutputInfo outputInfo, ArrayBuilder<BoundPatternBinding> bindings)
FlowAnalysis\NullableWalker_Patterns.cs (1)
621foreach (var binding in w.Bindings)
Generated\BoundNodes.xml.Generated.cs (3)
5173public BoundWhenDecisionDagNode(SyntaxNode syntax, ImmutableArray<BoundPatternBinding> bindings, BoundExpression? whenExpression, BoundDecisionDagNode whenTrue, BoundDecisionDagNode? whenFalse, bool hasErrors = false) 5186public ImmutableArray<BoundPatternBinding> Bindings { get; } 5194public BoundWhenDecisionDagNode Update(ImmutableArray<BoundPatternBinding> bindings, BoundExpression? whenExpression, BoundDecisionDagNode whenTrue, BoundDecisionDagNode? whenFalse)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
1185void lowerBindings(ImmutableArray<BoundPatternBinding> bindings, ArrayBuilder<BoundStatement> sectionBuilder) 1187foreach (BoundPatternBinding binding in bindings)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
576foreach (BoundPatternBinding binding in w.Bindings)
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
285foreach (BoundPatternBinding binding in whenNode.Bindings)