3 instantiations of BoundPatternBinding
Microsoft.CodeAnalysis.CSharp (3)
Binder\DecisionDagBuilder.cs (2)
595bindings.Add(new BoundPatternBinding(variableAccess, input)); 1026bindings.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) 925ArrayBuilder<BoundPatternBinding> bindings) 1071private Tests MakeTestsAndBindingsForNegatedPattern(TestInputOutputInfo input, BoundNegatedPattern neg, ArrayBuilder<BoundPatternBinding> bindings) 1081ArrayBuilder<BoundPatternBinding> bindings) 1106Tests makeTestsAndBindingsForBinaryPattern(DecisionDagBuilder @this, Tests leftTests, TestInputOutputInfo leftOutputInfo, TestInputOutputInfo inputInfo, BoundBinaryPattern bin, out TestInputOutputInfo outputInfo, ArrayBuilder<BoundPatternBinding> bindings) 1544foreach (var b in stateForCase.Bindings) 1634BoundDecisionDagNode finalState(SyntaxNode syntax, LabelSymbol label, ImmutableArray<BoundPatternBinding> bindings) 3113public readonly ImmutableArray<BoundPatternBinding> Bindings; 3120ImmutableArray<BoundPatternBinding> Bindings, 3230protected abstract RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e); 3232public Tests RemoveEvaluation(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, BoundDagEvaluation e) 3237protected Tests RemoveEvaluationAndUpdateTempReferences(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3283private static void AddBindingsPatchingAssignments(ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> oldTempMap, ImmutableDictionary<BoundDagTemp, BoundDagTemp> newTempMap, ArrayBuilder<Tests> assignments) 3290foreach (BoundPatternBinding b in bindings) 3346protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3370protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3517protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 3976protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap, BoundDagEvaluation e) 4097protected 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)
619foreach (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)