1 write to ExceptionTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4260
this.
ExceptionTypeOpt
= exceptionTypeOpt;
17 references to ExceptionTypeOpt
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Statements.cs (1)
3303
var previousType = previousBlock.
ExceptionTypeOpt
;
BoundTree\BoundNode_Source.cs (1)
39
append(catchBlock.
ExceptionTypeOpt
?.Name);
CodeGen\EmitStatement.cs (4)
1048
var exceptionType = ((object)catchBlock.
ExceptionTypeOpt
!= null) ?
1049
_module.Translate(catchBlock.
ExceptionTypeOpt
, catchBlock.Syntax, _diagnostics.DiagnosticBag) :
1094
if ((object)catchBlock.
ExceptionTypeOpt
!= null)
1096
var exceptionType = _module.Translate(catchBlock.
ExceptionTypeOpt
, catchBlock.Syntax, _diagnostics.DiagnosticBag);
CodeGen\Optimizer.cs (2)
1741
var exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
2288
var type = node.
ExceptionTypeOpt
;
Generated\BoundNodes.xml.Generated.cs (4)
4280
if (locals != this.Locals || exceptionSourceOpt != this.ExceptionSourceOpt || !TypeSymbol.Equals(exceptionTypeOpt, this.
ExceptionTypeOpt
, TypeCompareKind.ConsiderEverything) || exceptionFilterPrologueOpt != this.ExceptionFilterPrologueOpt || exceptionFilterOpt != this.ExceptionFilterOpt || body != this.Body || isSynthesizedAsyncCatchAll != this.IsSynthesizedAsyncCatchAll)
11541
TypeSymbol? exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
13616
TypeSymbol? exceptionTypeOpt = GetUpdatedSymbol(node, node.
ExceptionTypeOpt
);
16087
new TreeDumperNode("exceptionTypeOpt", node.
ExceptionTypeOpt
, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
554
var catchType = node.
ExceptionTypeOpt
?? _F.SpecialType(SpecialType.System_Object);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1278
var exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
90
TypeSymbol? rewrittenExceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
Lowering\SpillSequenceSpiller.cs (1)
724
TypeSymbol exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
Operations\CSharpOperationFactory.cs (1)
2012
ITypeSymbol exceptionType = boundCatchBlock.
ExceptionTypeOpt
.GetPublicSymbol() ?? _semanticModel.Compilation.ObjectType;