1 implementation of ExceptionType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8023
public ITypeSymbol
ExceptionType
{ get; }
21 references to ExceptionType
GenerateDocumentationAndConfigFiles (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Metrics (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Metrics.Legacy (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
3699
filterAndHandlerRegion = new RegionBuilder(ControlFlowRegionKind.FilterAndHandler, catchClause.
ExceptionType
, catchClause.Locals);
3702
var filterRegion = new RegionBuilder(ControlFlowRegionKind.Filter, catchClause.
ExceptionType
);
3705
AddExceptionStore(catchClause.
ExceptionType
, exceptionDeclarationOrExpression);
3718
var handlerRegion = new RegionBuilder(ControlFlowRegionKind.Catch, catchClause.
ExceptionType
,
3726
AddExceptionStore(catchClause.
ExceptionType
, exceptionDeclarationOrExpression);
Microsoft.CodeAnalysis.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
713
var exceptionTypeStr = operation.
ExceptionType
!= null ? operation.
ExceptionType
.ToTestDisplayString() : "null";
Compilation\TestOperationVisitor.cs (1)
443
var exceptionType = operation.
ExceptionType
;
Roslyn.Diagnostics.Analyzers (2)
AbstractDoNotCopyValue.cs (1)
467
CheckTypeSymbolInUnsupportedContext(operation, operation.
ExceptionType
);
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Test.Utilities (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&
Text.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
163
return operation.
ExceptionType
is INamedTypeSymbol exceptionType &&