3 writes to PendingBranches
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\AbstractFlowPass.cs (3)
209PendingBranches = new PendingBranchesCollection(); 830PendingBranches = new PendingBranchesCollection(); 879PendingBranches = oldPending.PendingBranches;
33 references to PendingBranches
Microsoft.CodeAnalysis.CSharp (33)
FlowAnalysis\AbstractFlowPass.cs (21)
444PendingBranches.Clear(); 457PendingBranches.Free(); 534result = PendingBranches.ToImmutable(); 535PendingBranches.Clear(); 747var pendingBranches = PendingBranches.GetAndRemoveBranches(label); 779var pendingBranches = PendingBranches.GetAndRemoveBranches(label); 828var result = new SavedPending(PendingBranches, _labelsSeen); 876oldPending.PendingBranches.AddRange(this.PendingBranches); 878PendingBranches.Free(); 2019PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 2327PendingBranches.Add(new PendingBranch(node, this.State, null)); 2798PendingBranches.Add(new PendingBranch(node, this.State, null)); 2884PendingBranches.Add(new PendingBranch(node, this.State, null)); 3225PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3233PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3336PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3402PendingBranches.Add(new PendingBranch(node, this.State, null)); 3433PendingBranches.Add(new PendingBranch(node, this.State, null)); 3441PendingBranches.Add(new PendingBranch(node, this.State, null)); 3550PendingBranches.Add(new PendingBranch(node, this.StateWhenTrue, node.Label)); 3555PendingBranches.Add(new PendingBranch(node, this.StateWhenFalse, node.Label));
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (1)
106PendingBranches.Add(new PendingBranch(null, this.State, null));
FlowAnalysis\AbstractFlowPass_Switch.cs (3)
69PendingBranches.Add(new PendingBranch(label, this.State, label.Label)); 135PendingBranches.Add(new PendingBranch(node, state, node.DefaultLabel)); 138PendingBranches.Add(new PendingBranch(node, state, label));
FlowAnalysis\AlwaysAssignedWalker.cs (1)
134foreach (var branch in PendingBranches.AsEnumerable())
FlowAnalysis\ControlFlowPass.cs (1)
300foreach (var branch in PendingBranches.AsEnumerable())
FlowAnalysis\ExitPointsWalker.cs (1)
122foreach (var pending in PendingBranches.AsEnumerable())
FlowAnalysis\NullableWalker.cs (4)
2947PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 2994PendingBranches.Add(new PendingBranch(node, joinedState, label: null, this.IsConditionalState, this.StateWhenTrue, this.StateWhenFalse)); 2998PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 3343PendingBranches.Add(new PendingBranch(null, this.State, null));
FlowAnalysis\NullableWalker_Patterns.cs (1)
307PendingBranches.Add(new PendingBranch(label, this.State, label.Label));