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