1 write to Destination
Microsoft.CodeAnalysis (1)
Operations\ControlFlowBranch.cs (1)
29
Destination
= destination;
48 references to Destination
ILLink.RoslynAnalyzer (2)
DataFlow\ControlFlowGraphProxy.cs (2)
87
branch.
Destination
== null ? null : new BlockProxy (branch.
Destination
),
Microsoft.CodeAnalysis (7)
Operations\ControlFlowBranch.cs (5)
13
/// Represents a control flow branch from a <see cref="Source"/> basic block to a <see cref="
Destination
"/>
66
if (
Destination
== null)
72
result = CollectRegions(
Destination
.Ordinal, Source.EnclosingRegion).ToImmutableAndFree();
109
if (
Destination
== null)
115
ArrayBuilder<ControlFlowRegion> builder = CollectRegions(Source.Ordinal,
Destination
.EnclosingRegion);
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (2)
293
if (predecessor.FallThroughSuccessor.
Destination
== block)
298
if (predecessor.ConditionalSuccessor?.
Destination
== block)
Microsoft.CodeAnalysis.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (6)
216
Debug.Assert(branch.
Destination
== null);
221
Debug.Assert(branch.
Destination
== null);
227
Debug.Assert(branch.
Destination
!= null);
229
if (StepThroughFinally(current.EnclosingRegion, branch.
Destination
.Ordinal, ref currentAnalsisData))
231
var destination = branch.
Destination
;
242
toVisit.Add(branch.
Destination
.Ordinal);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
111
if (basicBlock.FallThroughSuccessor?.
Destination
== null &&
112
basicBlock.ConditionalSuccessor?.
Destination
== null)
Microsoft.CodeAnalysis.Test.Utilities (23)
Compilation\ControlFlowGraphVerifier.cs (17)
141
Assert.NotNull(block.FallThroughSuccessor.
Destination
);
193
Assert.Same(block, predecessorBranch.
Destination
);
249
if (conditionalBranch.
Destination
!= null)
251
Assert.Same(blocks[conditionalBranch.
Destination
.Ordinal], conditionalBranch.
Destination
);
288
if (nextBranch.
Destination
!= null)
290
Assert.Same(blocks[nextBranch.
Destination
.Ordinal], nextBranch.
Destination
);
295
Assert.Null(nextBranch.
Destination
);
715
if (branch.
Destination
!= null)
717
if (branch.
Destination
.Ordinal > branch.Source.Ordinal)
719
PooledHashSet<CaptureId> entryState = adjustAndGetEntryState(entryStates, branch.
Destination
, state);
1344
return branch.
Destination
!= null ? getBlockId(branch.
Destination
) : "null";
1571
if (branch.
Destination
== null)
1583
Assert.True(branch.
Destination
.Predecessors.Contains(p => p.Source == fromBlock));
1601
ControlFlowRegion remainedIn2 = branch.
Destination
.EnclosingRegion;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (6)
216
Debug.Assert(branch.
Destination
== null);
221
Debug.Assert(branch.
Destination
== null);
227
Debug.Assert(branch.
Destination
!= null);
229
if (StepThroughFinally(current.EnclosingRegion, branch.
Destination
.Ordinal, ref currentAnalsisData))
231
var destination = branch.
Destination
;
242
toVisit.Add(branch.
Destination
.Ordinal);
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (6)
216
Debug.Assert(branch.
Destination
== null);
221
Debug.Assert(branch.
Destination
== null);
227
Debug.Assert(branch.
Destination
!= null);
229
if (StepThroughFinally(current.EnclosingRegion, branch.
Destination
.Ordinal, ref currentAnalsisData))
231
var destination = branch.
Destination
;
242
toVisit.Add(branch.
Destination
.Ordinal);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
111
if (basicBlock.FallThroughSuccessor?.
Destination
== null &&
112
basicBlock.ConditionalSuccessor?.
Destination
== null)