3 writes to PendingBranches
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\AbstractFlowPass.cs (3)
208PendingBranches = new PendingBranchesCollection(); 829PendingBranches = new PendingBranchesCollection(); 878PendingBranches = oldPending.PendingBranches;
33 references to PendingBranches
Microsoft.CodeAnalysis.CSharp (33)
FlowAnalysis\AbstractFlowPass.cs (21)
443PendingBranches.Clear(); 456PendingBranches.Free(); 533result = PendingBranches.ToImmutable(); 534PendingBranches.Clear(); 746var pendingBranches = PendingBranches.GetAndRemoveBranches(label); 778var pendingBranches = PendingBranches.GetAndRemoveBranches(label); 827var result = new SavedPending(PendingBranches, _labelsSeen); 875oldPending.PendingBranches.AddRange(this.PendingBranches); 877PendingBranches.Free(); 2025PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 2333PendingBranches.Add(new PendingBranch(node, this.State, null)); 2804PendingBranches.Add(new PendingBranch(node, this.State, null)); 2890PendingBranches.Add(new PendingBranch(node, this.State, null)); 3236PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3244PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3347PendingBranches.Add(new PendingBranch(node, this.State, node.Label)); 3413PendingBranches.Add(new PendingBranch(node, this.State, null)); 3444PendingBranches.Add(new PendingBranch(node, this.State, null)); 3452PendingBranches.Add(new PendingBranch(node, this.State, null)); 3561PendingBranches.Add(new PendingBranch(node, this.StateWhenTrue, node.Label)); 3566PendingBranches.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)
3043PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 3090PendingBranches.Add(new PendingBranch(node, joinedState, label: null, this.IsConditionalState, this.StateWhenTrue, this.StateWhenFalse)); 3094PendingBranches.Add(new PendingBranch(node, this.State, label: null)); 3440PendingBranches.Add(new PendingBranch(null, this.State, null));
FlowAnalysis\NullableWalker_Patterns.cs (1)
307PendingBranches.Add(new PendingBranch(label, this.State, label.Label));