4 writes to Destination
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
1095predecessorBranch.Destination = successorBranch.Destination; 1227branch.Destination = null; 1372prevBlock.FallThrough.Destination = nextBlock; 3285return new BasicBlockBuilder.Branch() { Destination = destination, Kind = ControlFlowBranchSemantics.Regular };
39 references to Destination
Microsoft.CodeAnalysis (39)
Operations\ControlFlowGraphBuilder.cs (39)
217destination: branch.Destination != null ? builder[branch.Destination.Ordinal] : null, 323Debug.Assert(branch.Destination == null); 328Debug.Assert(branch.Destination != null); 331if (stepThroughFinally(current.Region, branch.Destination)) 333toVisit.Add(branch.Destination); 701predecessor.FallThrough.Destination == block && 719Debug.Assert((next.Destination == null) == 738if (next.Destination == block) 753next.Destination == null && next.Kind == ControlFlowBranchSemantics.StructuredExceptionHandling && 798Debug.Assert(next.Destination == null); 811predecessor.FallThrough.Destination != block || 812predecessor.Conditional.Destination == block || 845next.Destination != blocks[i + 1]) 850Debug.Assert(implicitEntryRegion.LastBlock!.Ordinal >= next.Destination.Ordinal); 858Debug.Assert(next.Destination != null); 859if (next.Destination.Kind != BasicBlockKind.Exit || 882Debug.Assert(predecessor.FallThrough.Destination == block); 887RegionBuilder? destinationRegionOpt = next.Destination == null ? null : regionMap[next.Destination]; 933next.Destination?.RemovePredecessor(block); 972predecessor.FallThrough.Destination == block && 981next.Destination?.RemovePredecessor(block); 986BasicBlockBuilder? destination = block.Conditional.Destination; 1084if (predecessorBranch.Destination == successor) 1095predecessorBranch.Destination = successorBranch.Destination; 1096successorBranch.Destination?.AddPredecessor(predecessor); 1224if (branch.Destination != null && unresolved.Contains(branch.Destination)) 1304if (prevBlock.FallThrough.Destination == null) 1371Debug.Assert(prevBlock.FallThrough.Destination == null); 2969Debug.Assert(branch.Destination != null); 2971branch.Destination.AddPredecessor(previous); 3712Debug.Assert(filterRegion.LastBlock.FallThrough.Destination == null); 3738Debug.Assert(filterAndHandlerRegion.Regions![0].LastBlock!.FallThrough.Destination == null); 3775Debug.Assert(finallyRegion.LastBlock.FallThrough.Destination == null); 3780Debug.Assert(tryAndFinallyRegion?.Regions![1].LastBlock!.FallThrough.Destination == null); 3941Debug.Assert(current.FallThrough.Destination == null); 5707Debug.Assert(current.FallThrough.Destination == null);