3 writes to PendingBranches
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\AbstractFlowPass.cs (3)
208PendingBranches = 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(); 2074PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 2383PendingBranches.Add(new PendingBranch(node, this.State, null)); 2875PendingBranches.Add(new PendingBranch(node, this.State, null)); 2961PendingBranches.Add(new PendingBranch(node, this.State, null)); 3307PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3315PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3418PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3484PendingBranches.Add(new PendingBranch(node, this.State, null)); 3515PendingBranches.Add(new PendingBranch(node, this.State, null)); 3523PendingBranches.Add(new PendingBranch(node, this.State, null)); 3632PendingBranches.Add(new PendingBranch(node, this.StateWhenTrue, node.Label)); 3637PendingBranches.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)
135foreach (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)
3069PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 3116PendingBranches.Add(new PendingBranch(node, joinedState, label: null, this.IsConditionalState, this.StateWhenTrue, this.StateWhenFalse)); 3120PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 3465PendingBranches.Add(new PendingBranch(null, this.State, null));
FlowAnalysis\NullableWalker_Patterns.cs (1)
307PendingBranches.Add(new PendingBranch(label, this.State, label.Label));