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