1 write to Source
Microsoft.CodeAnalysis (1)
Operations\ControlFlowBranch.cs (1)
28
Source
= source;
16 references to Source
ILLink.RoslynAnalyzer (2)
DataFlow\ControlFlowGraphProxy.cs (2)
77
var conditionKind = branch.
Source
.ConditionKind switch {
86
new BlockProxy (branch.
Source
),
Microsoft.CodeAnalysis (6)
Operations\ControlFlowBranch.cs (4)
13
/// Represents a control flow branch from a <see cref="
Source
"/> basic block to a <see cref="Destination"/>
50
/// Indicates if this branch represents <see cref="BasicBlock.ConditionalSuccessor"/> of the <see cref="
Source
"/> basic block.
72
result = CollectRegions(Destination.Ordinal,
Source
.EnclosingRegion).ToImmutableAndFree();
115
ArrayBuilder<ControlFlowRegion> builder = CollectRegions(
Source
.Ordinal, Destination.EnclosingRegion);
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (2)
271
int result = x.
Source
.Ordinal - y.
Source
.Ordinal;
Microsoft.CodeAnalysis.Test.Utilities (8)
Compilation\ControlFlowGraphVerifier.cs (8)
194
var predecessor = predecessorBranch.
Source
;
211
if (predecessorIndex < predecessors.Length - 1 && predecessors[predecessorIndex + 1].
Source
== predecessor)
248
Assert.Same(block, conditionalBranch.
Source
);
287
Assert.Same(block, nextBranch.
Source
);
395
if (predecessor.
Source
.Ordinal >= i)
403
AssertTrueWithGraph(currentState.Contains(id), $"Backward branch from [{getBlockId(predecessor.
Source
)}] to [{getBlockId(block)}] before capture [{id.Value}] is initialized.", finalGraph);
717
if (branch.Destination.Ordinal > branch.
Source
.Ordinal)
732
ControlFlowRegion region = branch.
Source
.EnclosingRegion;