4 writes to Destination
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
1103predecessorBranch.Destination = successorBranch.Destination; 1235branch.Destination = null; 1381prevBlock.FallThrough.Destination = nextBlock; 3295return new BasicBlockBuilder.Branch() { Destination = destination, Kind = ControlFlowBranchSemantics.Regular };
39 references to Destination
Microsoft.CodeAnalysis (39)
Operations\ControlFlowGraphBuilder.cs (39)
225destination: branch.Destination != null ? builder[branch.Destination.Ordinal] : null, 331Debug.Assert(branch.Destination == null); 336Debug.Assert(branch.Destination != null); 339if (stepThroughFinally(current.Region, branch.Destination)) 341toVisit.Add(branch.Destination); 709predecessor.FallThrough.Destination == block && 727Debug.Assert((next.Destination == null) == 746if (next.Destination == block) 761next.Destination == null && next.Kind == ControlFlowBranchSemantics.StructuredExceptionHandling && 806Debug.Assert(next.Destination == null); 819predecessor.FallThrough.Destination != block || 820predecessor.Conditional.Destination == block || 853next.Destination != blocks[i + 1]) 858Debug.Assert(implicitEntryRegion.LastBlock!.Ordinal >= next.Destination.Ordinal); 866Debug.Assert(next.Destination != null); 867if (next.Destination.Kind != BasicBlockKind.Exit || 890Debug.Assert(predecessor.FallThrough.Destination == block); 895RegionBuilder? destinationRegionOpt = next.Destination == null ? null : regionMap[next.Destination]; 941next.Destination?.RemovePredecessor(block); 980predecessor.FallThrough.Destination == block && 989next.Destination?.RemovePredecessor(block); 994BasicBlockBuilder? destination = block.Conditional.Destination; 1092if (predecessorBranch.Destination == successor) 1103predecessorBranch.Destination = successorBranch.Destination; 1104successorBranch.Destination?.AddPredecessor(predecessor); 1232if (branch.Destination != null && unresolved.Contains(branch.Destination)) 1313if (prevBlock.FallThrough.Destination == null) 1380Debug.Assert(prevBlock.FallThrough.Destination == null); 2979Debug.Assert(branch.Destination != null); 2981branch.Destination.AddPredecessor(previous); 3722Debug.Assert(filterRegion.LastBlock.FallThrough.Destination == null); 3748Debug.Assert(filterAndHandlerRegion.Regions![0].LastBlock!.FallThrough.Destination == null); 3785Debug.Assert(finallyRegion.LastBlock.FallThrough.Destination == null); 3790Debug.Assert(tryAndFinallyRegion?.Regions![1].LastBlock!.FallThrough.Destination == null); 3951Debug.Assert(current.FallThrough.Destination == null); 5718Debug.Assert(current.FallThrough.Destination == null);