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)
471case ControlFlowRegionKind.Catch: 544case ControlFlowRegionKind.Catch: 1026case ControlFlowRegionKind.Catch: 3716var handlerRegion = new RegionBuilder(ControlFlowRegionKind.Catch, catchClause.ExceptionType,
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (3)
147Debug.Assert(lastKind == (Regions.Count < 2 ? ControlFlowRegionKind.Filter : ControlFlowRegionKind.Catch)); 157Debug.Assert(lastKind == ControlFlowRegionKind.Catch || lastKind == ControlFlowRegionKind.FilterAndHandler); 175Debug.Assert(lastKind != ControlFlowRegionKind.Catch);
Operations\ControlFlowRegion.cs (4)
28/// Target exception type for <see cref="ControlFlowRegionKind.Filter"/>, <see cref="ControlFlowRegionKind.Catch"/>, 98Debug.Assert(NestedRegions[1].Kind == (kind == ControlFlowRegionKind.TryAndFinally ? ControlFlowRegionKind.Finally : ControlFlowRegionKind.Catch)); 116Debug.Assert(r.Kind == ControlFlowRegionKind.FilterAndHandler || r.Kind == ControlFlowRegionKind.Catch); 126case 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)
315case ControlFlowRegionKind.Catch:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
384case ControlFlowRegionKind.Catch:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
169if (basicBlock.EnclosingRegion.Kind == ControlFlowRegionKind.Catch &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
370case ControlFlowRegionKind.Catch:
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\ControlFlowGraphVerifier.cs (2)
1452case ControlFlowRegionKind.Catch: 1541case ControlFlowRegionKind.Catch:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
384case ControlFlowRegionKind.Catch:
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
315case ControlFlowRegionKind.Catch:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
384case ControlFlowRegionKind.Catch:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
169if (basicBlock.EnclosingRegion.Kind == ControlFlowRegionKind.Catch &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
370case ControlFlowRegionKind.Catch: