31 references to Catch
ILLink.RoslynAnalyzer (7)
DataFlow\ControlFlowGraphProxy.cs (7)
40
ControlFlowRegionKind.
Catch
=> RegionKind.Catch,
126
if (region.Kind is ControlFlowRegionKind.Try or ControlFlowRegionKind.
Catch
or ControlFlowRegionKind.Filter) {
153
if (catchOrFilterOrFinallyRegion.Region.Kind is not (ControlFlowRegionKind.
Catch
or ControlFlowRegionKind.Filter or ControlFlowRegionKind.Finally))
180
if (region.Kind is not (ControlFlowRegionKind.
Catch
or ControlFlowRegionKind.Filter))
184
if (region.Kind is ControlFlowRegionKind.
Catch
&& region.EnclosingRegion!.Kind is ControlFlowRegionKind.FilterAndHandler)
193
case ControlFlowRegionKind.
Catch
:
225
if (catchRegion.Region.Kind is not ControlFlowRegionKind.
Catch
)
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (4)
471
case ControlFlowRegionKind.
Catch
:
544
case ControlFlowRegionKind.
Catch
:
1026
case ControlFlowRegionKind.
Catch
:
3716
var handlerRegion = new RegionBuilder(ControlFlowRegionKind.
Catch
, catchClause.ExceptionType,
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (3)
147
Debug.Assert(lastKind == (Regions.Count < 2 ? ControlFlowRegionKind.Filter : ControlFlowRegionKind.
Catch
));
157
Debug.Assert(lastKind == ControlFlowRegionKind.
Catch
|| lastKind == ControlFlowRegionKind.FilterAndHandler);
175
Debug.Assert(lastKind != ControlFlowRegionKind.
Catch
);
Operations\ControlFlowRegion.cs (4)
28
/// Target exception type for <see cref="ControlFlowRegionKind.Filter"/>, <see cref="ControlFlowRegionKind.
Catch
"/>,
98
Debug.Assert(NestedRegions[1].Kind == (kind == ControlFlowRegionKind.TryAndFinally ? ControlFlowRegionKind.Finally : ControlFlowRegionKind.
Catch
));
116
Debug.Assert(r.Kind == ControlFlowRegionKind.FilterAndHandler || r.Kind == ControlFlowRegionKind.
Catch
);
126
case ControlFlowRegionKind.
Catch
:
Operations\ControlFlowRegionKind.cs (2)
43
/// Region representing a union of a <see cref="Filter"/> and the corresponding catch <see cref="
Catch
"/> regions.
49
/// Region representing a union of a <see cref="Try"/> and all corresponding catch <see cref="
Catch
"/>
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
315
case ControlFlowRegionKind.
Catch
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
384
case ControlFlowRegionKind.
Catch
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
169
if (basicBlock.EnclosingRegion.Kind == ControlFlowRegionKind.
Catch
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
370
case ControlFlowRegionKind.
Catch
:
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\ControlFlowGraphVerifier.cs (2)
1452
case ControlFlowRegionKind.
Catch
:
1541
case ControlFlowRegionKind.
Catch
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
384
case ControlFlowRegionKind.
Catch
:
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
315
case ControlFlowRegionKind.
Catch
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
384
case ControlFlowRegionKind.
Catch
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
169
if (basicBlock.EnclosingRegion.Kind == ControlFlowRegionKind.
Catch
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
370
case ControlFlowRegionKind.
Catch
: