32 references to TryAndFinally
Microsoft.CodeAnalysis (19)
Operations\ControlFlowBranch.cs (1)
142
if (leavingRegions[i].Kind == ControlFlowRegionKind.Try && leavingRegions[i + 1].Kind == ControlFlowRegionKind.
TryAndFinally
)
Operations\ControlFlowGraphBuilder.cs (12)
352
if (region.Kind == ControlFlowRegionKind.Try && enclosing.Kind == ControlFlowRegionKind.
TryAndFinally
)
412
case ControlFlowRegionKind.
TryAndFinally
:
600
case ControlFlowRegionKind.
TryAndFinally
:
759
Debug.Assert(tryAndFinally.Kind == ControlFlowRegionKind.
TryAndFinally
);
3666
tryAndFinallyRegion = new RegionBuilder(ControlFlowRegionKind.
TryAndFinally
);
4087
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
TryAndFinally
));
4099
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
TryAndFinally
);
4114
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
TryAndFinally
);
4359
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
TryAndFinally
));
4442
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
TryAndFinally
);
4499
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
TryAndFinally
));
4548
Debug.Assert(_currentRegion.Kind == ControlFlowRegionKind.
TryAndFinally
);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (2)
161
case ControlFlowRegionKind.
TryAndFinally
:
253
Kind != ControlFlowRegionKind.
TryAndFinally
) ||
Operations\ControlFlowRegion.cs (3)
94
case ControlFlowRegionKind.
TryAndFinally
:
97
Debug.Assert(NestedRegions[0].Kind == (kind == ControlFlowRegionKind.
TryAndFinally
? ControlFlowRegionKind.Try : ControlFlowRegionKind.Filter));
98
Debug.Assert(NestedRegions[1].Kind == (kind == ControlFlowRegionKind.
TryAndFinally
? ControlFlowRegionKind.Finally : ControlFlowRegionKind.Catch));
Operations\ControlFlowRegionKind.cs (1)
64
/// at the same time is mapped to a <see cref="
TryAndFinally
"/> region with <see cref="TryAndCatch"/> region inside its <see cref="Try"/> region.
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
260
if (region.Kind == ControlFlowRegionKind.Try && enclosing.Kind == ControlFlowRegionKind.
TryAndFinally
)
324
case ControlFlowRegionKind.
TryAndFinally
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
189
if (region.Kind == ControlFlowRegionKind.
TryAndFinally
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
388
case ControlFlowRegionKind.
TryAndFinally
:
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ControlFlowGraphVerifier.cs (3)
736
if (region.Kind == ControlFlowRegionKind.Try && region.EnclosingRegion.Kind == ControlFlowRegionKind.
TryAndFinally
)
1474
case ControlFlowRegionKind.
TryAndFinally
:
1559
case ControlFlowRegionKind.
TryAndFinally
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
260
if (region.Kind == ControlFlowRegionKind.Try && enclosing.Kind == ControlFlowRegionKind.
TryAndFinally
)
324
case ControlFlowRegionKind.
TryAndFinally
:
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
260
if (region.Kind == ControlFlowRegionKind.Try && enclosing.Kind == ControlFlowRegionKind.
TryAndFinally
)
324
case ControlFlowRegionKind.
TryAndFinally
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
189
if (region.Kind == ControlFlowRegionKind.
TryAndFinally
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
388
case ControlFlowRegionKind.
TryAndFinally
: