1 write to ExceptionType
Microsoft.CodeAnalysis (1)
Operations\ControlFlowRegion.cs (1)
77
ExceptionType
= exceptionType;
18 references to ExceptionType
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\RoslynAnalyzers\Utilities\FlowAnalysis\Extensions\BasicBlockExtensions.cs (2)
38
if (region.
ExceptionType
!= null)
40
return region.
ExceptionType
;
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (3)
53
(nestedRegion.
ExceptionType
== null ||
54
nestedRegion.
ExceptionType
.SpecialType == SpecialType.System_Object ||
55
exceptionType.DerivesFrom(nestedRegion.
ExceptionType
, baseTypesOnly: true)))
Microsoft.CodeAnalysis.Test.Utilities (13)
Compilation\ControlFlowGraphVerifier.cs (13)
147
Assert.Null(currentRegion.
ExceptionType
);
1437
Assert.Same(region.
ExceptionType
, region.EnclosingRegion.
ExceptionType
);
1441
Assert.Null(region.
ExceptionType
);
1446
enterRegion($".catch {{{getRegionId(region)}}} ({region.
ExceptionType
?.ToTestDisplayString() ?? "null"})");
1449
Assert.Null(region.
ExceptionType
);
1456
Assert.Same(region.
ExceptionType
, region.EnclosingRegion.
ExceptionType
);
1460
enterRegion($".catch {{{getRegionId(region)}}} ({region.
ExceptionType
?.ToTestDisplayString() ?? "null"})");
1468
Assert.Null(region.
ExceptionType
);
1478
Assert.Null(region.
ExceptionType
);
1482
Assert.Null(region.
ExceptionType
);
1488
Assert.Null(region.
ExceptionType
);