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