81 references to TryAndCatch
GenerateDocumentationAndConfigFiles (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
:
ILLink.RoslynAnalyzer (1)
DataFlow\ControlFlowGraphProxy.cs (1)
174
Debug.Assert(enclosingRegion.Kind == ControlFlowRegionKind.
TryAndCatch
);
Metrics (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
:
Metrics.Legacy (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 (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.Analyzers (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.AnalyzerUtilities (11)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysis.cs (6)
279
Debug.Assert(enclosingTryAndCatchRegion.Kind == ControlFlowRegionKind.
TryAndCatch
);
300
block.EnclosingRegion.EnclosingRegion?.Kind == ControlFlowRegionKind.
TryAndCatch
&&
493
Debug.Assert(tryAndCatchRegion.Kind == ControlFlowRegionKind.
TryAndCatch
);
600
if (block.EnclosingRegion!.EnclosingRegion!.Kind == ControlFlowRegionKind.
TryAndCatch
)
609
block.EnclosingRegion.EnclosingRegion.EnclosingRegion?.Kind == ControlFlowRegionKind.
TryAndCatch
)
690
if (region.Kind == ControlFlowRegionKind.
TryAndCatch
)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
48
if (enclosingRegion.Kind == 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
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
386
case ControlFlowRegionKind.
TryAndCatch
:
Microsoft.CodeAnalysis.BannedApiAnalyzers (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.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.PerformanceSensitiveAnalyzers (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.PublicApiAnalyzers (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.ResxSourceGenerator (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
:
Roslyn.Diagnostics.Analyzers (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
:
Test.Utilities (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
:
Text.Analyzers (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
: