3 writes to PendingBranches
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\AbstractFlowPass.cs (3)
209PendingBranches = new PendingBranchesCollection(); 823PendingBranches = new PendingBranchesCollection(); 872PendingBranches = oldPending.PendingBranches;
33 references to PendingBranches
Microsoft.CodeAnalysis.CSharp (33)
FlowAnalysis\AbstractFlowPass.cs (21)
445PendingBranches.Clear(); 458PendingBranches.Free(); 535result = PendingBranches.ToImmutable(); 536PendingBranches.Clear(); 740var pendingBranches = PendingBranches.GetAndRemoveBranches(label); 772var pendingBranches = PendingBranches.GetAndRemoveBranches(label); 821var result = new SavedPending(PendingBranches, _labelsSeen); 869oldPending.PendingBranches.AddRange(this.PendingBranches); 871PendingBranches.Free(); 1878PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 2154PendingBranches.Add(new PendingBranch(node, this.State, null)); 2602PendingBranches.Add(new PendingBranch(node, this.State, null)); 2688PendingBranches.Add(new PendingBranch(node, this.State, null)); 3029PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3037PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3140PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3206PendingBranches.Add(new PendingBranch(node, this.State, null)); 3237PendingBranches.Add(new PendingBranch(node, this.State, null)); 3245PendingBranches.Add(new PendingBranch(node, this.State, null)); 3354PendingBranches.Add(new PendingBranch(node, this.StateWhenTrue, node.Label)); 3359PendingBranches.Add(new PendingBranch(node, this.StateWhenFalse, node.Label));
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (1)
101PendingBranches.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)
2808PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 2855PendingBranches.Add(new PendingBranch(node, joinedState, label: null, this.IsConditionalState, this.StateWhenTrue, this.StateWhenFalse)); 2859PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 3109PendingBranches.Add(new PendingBranch(null, this.State, null));
FlowAnalysis\NullableWalker_Patterns.cs (1)
269PendingBranches.Add(new PendingBranch(label, this.State, label.Label));