3 writes to PendingBranches
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\AbstractFlowPass.cs (3)
208
PendingBranches
= new PendingBranchesCollection();
830
PendingBranches
= new PendingBranchesCollection();
879
PendingBranches
= oldPending.PendingBranches;
33 references to PendingBranches
Microsoft.CodeAnalysis.CSharp (33)
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (1)
106
PendingBranches
.Add(new PendingBranch(null, this.State, null));
FlowAnalysis\AbstractFlowPass_Switch.cs (3)
69
PendingBranches
.Add(new PendingBranch(label, this.State, label.Label));
135
PendingBranches
.Add(new PendingBranch(node, state, node.DefaultLabel));
138
PendingBranches
.Add(new PendingBranch(node, state, label));
FlowAnalysis\AbstractFlowPass.cs (21)
444
PendingBranches
.Clear();
457
PendingBranches
.Free();
534
result =
PendingBranches
.ToImmutable();
535
PendingBranches
.Clear();
747
var pendingBranches =
PendingBranches
.GetAndRemoveBranches(label);
779
var pendingBranches =
PendingBranches
.GetAndRemoveBranches(label);
828
var result = new SavedPending(
PendingBranches
, _labelsSeen);
876
oldPending.PendingBranches.AddRange(this.
PendingBranches
);
878
PendingBranches
.Free();
2026
PendingBranches
.Add(new PendingBranch(node, this.State, label: null));
2335
PendingBranches
.Add(new PendingBranch(node, this.State, null));
2827
PendingBranches
.Add(new PendingBranch(node, this.State, null));
2913
PendingBranches
.Add(new PendingBranch(node, this.State, null));
3259
PendingBranches
.Add(new PendingBranch(node, this.State, node.Label));
3267
PendingBranches
.Add(new PendingBranch(node, this.State, node.Label));
3370
PendingBranches
.Add(new PendingBranch(node, this.State, node.Label));
3436
PendingBranches
.Add(new PendingBranch(node, this.State, null));
3467
PendingBranches
.Add(new PendingBranch(node, this.State, null));
3475
PendingBranches
.Add(new PendingBranch(node, this.State, null));
3584
PendingBranches
.Add(new PendingBranch(node, this.StateWhenTrue, node.Label));
3589
PendingBranches
.Add(new PendingBranch(node, this.StateWhenFalse, node.Label));
FlowAnalysis\AlwaysAssignedWalker.cs (1)
135
foreach (var branch in
PendingBranches
.AsEnumerable())
FlowAnalysis\ControlFlowPass.cs (1)
305
foreach (var branch in
PendingBranches
.AsEnumerable())
FlowAnalysis\ExitPointsWalker.cs (1)
122
foreach (var pending in
PendingBranches
.AsEnumerable())
FlowAnalysis\NullableWalker_Patterns.cs (1)
310
PendingBranches
.Add(new PendingBranch(label, this.State, label.Label));
FlowAnalysis\NullableWalker.cs (4)
3114
PendingBranches
.Add(new PendingBranch(node, this.State, label: null));
3161
PendingBranches
.Add(new PendingBranch(node, joinedState, label: null, this.IsConditionalState, this.StateWhenTrue, this.StateWhenFalse));
3165
PendingBranches
.Add(new PendingBranch(node, this.State, label: null));
3510
PendingBranches
.Add(new PendingBranch(null, this.State, null));