1 write to Source
Microsoft.CodeAnalysis (1)
Operations\ControlFlowBranch.cs (1)
28Source = source;
15 references to 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. 72result = CollectRegions(Destination.Ordinal, Source.EnclosingRegion).ToImmutableAndFree(); 115ArrayBuilder<ControlFlowRegion> builder = CollectRegions(Source.Ordinal, Destination.EnclosingRegion);
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (2)
271int result = x.Source.Ordinal - y.Source.Ordinal;
Microsoft.CodeAnalysis.Test.Utilities (9)
Compilation\ControlFlowGraphVerifier.cs (9)
194var predecessor = predecessorBranch.Source; 211if (predecessorIndex < predecessors.Length - 1 && predecessors[predecessorIndex + 1].Source == predecessor) 248Assert.Same(block, conditionalBranch.Source); 287Assert.Same(block, nextBranch.Source); 395if (predecessor.Source.Ordinal >= i) 403AssertTrueWithGraph(currentState.Contains(id), $"Backward branch from [{getBlockId(predecessor.Source)}] to [{getBlockId(block)}] before capture [{id.Value}] is initialized.", finalGraph); 755if (branch.Destination.Ordinal > branch.Source.Ordinal) 770ControlFlowRegion region = branch.Source.EnclosingRegion; 1608Assert.True(branch.Destination.Predecessors.Contains(p => p.Source == fromBlock));