1 implementation of ExceptionType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7985public ITypeSymbol ExceptionType { get; }
18 references to ExceptionType
Metrics (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Metrics.Legacy (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
3697filterAndHandlerRegion = new RegionBuilder(ControlFlowRegionKind.FilterAndHandler, catchClause.ExceptionType, catchClause.Locals); 3700var filterRegion = new RegionBuilder(ControlFlowRegionKind.Filter, catchClause.ExceptionType); 3703AddExceptionStore(catchClause.ExceptionType, exceptionDeclarationOrExpression); 3716var handlerRegion = new RegionBuilder(ControlFlowRegionKind.Catch, catchClause.ExceptionType, 3724AddExceptionStore(catchClause.ExceptionType, exceptionDeclarationOrExpression);
Microsoft.CodeAnalysis.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
731var exceptionTypeStr = operation.ExceptionType != null ? operation.ExceptionType.ToTestDisplayString() : "null";
Compilation\TestOperationVisitor.cs (1)
442var exceptionType = operation.ExceptionType;
Roslyn.Diagnostics.Analyzers (2)
AbstractDoNotCopyValue.cs (1)
468CheckTypeSymbolInUnsupportedContext(operation, operation.ExceptionType);
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Test.Utilities (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&
Text.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
164return operation.ExceptionType is INamedTypeSymbol exceptionType &&