33 references to TryAndCatch
ILLink.RoslynAnalyzer (1)
DataFlow\ControlFlowGraphProxy.cs (1)
163
Debug.Assert (enclosingRegion.Kind == ControlFlowRegionKind.
TryAndCatch
);
Microsoft.CodeAnalysis (10)
Operations\ControlFlowGraphBuilder.cs (6)
422
case ControlFlowRegionKind.
TryAndCatch
:
437
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
461
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
599
case ControlFlowRegionKind.
TryAndCatch
:
3674
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
TryAndCatch
));
3755
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
TryAndCatch
);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (2)
150
case ControlFlowRegionKind.
TryAndCatch
:
252
Kind != ControlFlowRegionKind.
TryAndCatch
&&
Operations\ControlFlowRegion.cs (1)
104
case ControlFlowRegionKind.
TryAndCatch
:
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.AnalyzerUtilities (7)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysis.cs (6)
277
Debug.Assert(enclosingTryAndCatchRegion.Kind == ControlFlowRegionKind.
TryAndCatch
);
298
block.EnclosingRegion.EnclosingRegion?.Kind == ControlFlowRegionKind.
TryAndCatch
&&
491
Debug.Assert(tryAndCatchRegion.Kind == ControlFlowRegionKind.
TryAndCatch
);
598
if (block.EnclosingRegion!.EnclosingRegion!.Kind == ControlFlowRegionKind.
TryAndCatch
)
607
block.EnclosingRegion.EnclosingRegion.EnclosingRegion?.Kind == ControlFlowRegionKind.
TryAndCatch
)
688
if (region.Kind == ControlFlowRegionKind.
TryAndCatch
)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
47
if (enclosingRegion.Kind == ControlFlowRegionKind.
TryAndCatch
)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (3)
335
case ControlFlowRegionKind.
TryAndCatch
:
349
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
373
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
386
case ControlFlowRegionKind.
TryAndCatch
:
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\ControlFlowGraphVerifier.cs (4)
1459
case ControlFlowRegionKind.
TryAndCatch
:
1473
case ControlFlowRegionKind.
TryAndCatch
:
1545
case ControlFlowRegionKind.
TryAndCatch
:
1558
case ControlFlowRegionKind.
TryAndCatch
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (3)
335
case ControlFlowRegionKind.
TryAndCatch
:
349
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
373
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (3)
335
case ControlFlowRegionKind.
TryAndCatch
:
349
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
373
Debug.Assert(tryAndCatch.Kind == ControlFlowRegionKind.
TryAndCatch
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
386
case ControlFlowRegionKind.
TryAndCatch
: