26 references to Root
ILLink.RoslynAnalyzer (2)
DataFlow\ControlFlowGraphProxy.cs (2)
125
while (region != null && region.Kind != ControlFlowRegionKind.
Root
) {
141
while (region != null && region.Kind != ControlFlowRegionKind.
Root
) {
Microsoft.CodeAnalysis (16)
Operations\ControlFlowBranch.cs (1)
88
Debug.Assert(source.Kind != ControlFlowRegionKind.
Root
);
Operations\ControlFlowGraph.cs (2)
46
Debug.Assert(root.Kind == ControlFlowRegionKind.
Root
);
215
/// Root (<see cref="ControlFlowRegionKind.
Root
"/>) region for the graph.
Operations\ControlFlowGraphBuilder.cs (6)
116
var root = new RegionBuilder(ControlFlowRegionKind.
Root
);
349
Debug.Assert(region.Kind != ControlFlowRegionKind.
Root
);
407
ControlFlowRegion? enclosing = fromRegion.Kind == ControlFlowRegionKind.
Root
? null : fromRegion.EnclosingRegion;
541
case ControlFlowRegionKind.
Root
:
555
Debug.Assert(region.Kind != ControlFlowRegionKind.
Root
);
616
Debug.Assert(subRegion.Kind != ControlFlowRegionKind.
Root
);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (4)
66
Debug.Assert(Kind != ControlFlowRegionKind.
Root
);
78
Debug.Assert(Kind != ControlFlowRegionKind.
Root
);
97
Debug.Assert(Kind != ControlFlowRegionKind.
Root
);
110
Debug.Assert(Kind != ControlFlowRegionKind.
Root
);
Operations\ControlFlowRegion.cs (3)
23
/// Enclosing region. Null for <see cref="ControlFlowRegionKind.
Root
"/>
86
Debug.Assert(r.EnclosingRegion == null && r.Kind != ControlFlowRegionKind.
Root
);
122
case ControlFlowRegionKind.
Root
:
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
258
Debug.Assert(region.Kind != ControlFlowRegionKind.
Root
);
319
var enclosing = fromRegion.Kind == ControlFlowRegionKind.
Root
? null : fromRegion.EnclosingRegion;
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\ControlFlowGraphVerifier.cs (2)
151
Assert.Equal(ControlFlowRegionKind.
Root
, currentRegion.Kind);
734
while (region.Kind != ControlFlowRegionKind.
Root
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
258
Debug.Assert(region.Kind != ControlFlowRegionKind.
Root
);
319
var enclosing = fromRegion.Kind == ControlFlowRegionKind.
Root
? null : fromRegion.EnclosingRegion;
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
258
Debug.Assert(region.Kind != ControlFlowRegionKind.
Root
);
319
var enclosing = fromRegion.Kind == ControlFlowRegionKind.
Root
? null : fromRegion.EnclosingRegion;