1 write to ExceptionTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4157
this.
ExceptionTypeOpt
= exceptionTypeOpt;
18 references to ExceptionTypeOpt
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Statements.cs (1)
3188
var previousType = previousBlock.
ExceptionTypeOpt
;
BoundTree\BoundNode_Source.cs (1)
39
append(catchBlock.
ExceptionTypeOpt
?.Name);
CodeGen\EmitStatement.cs (4)
1023
var exceptionType = ((object)catchBlock.
ExceptionTypeOpt
!= null) ?
1024
_module.Translate(catchBlock.
ExceptionTypeOpt
, catchBlock.Syntax, _diagnostics.DiagnosticBag) :
1069
if ((object)catchBlock.
ExceptionTypeOpt
!= null)
1071
var exceptionType = _module.Translate(catchBlock.
ExceptionTypeOpt
, catchBlock.Syntax, _diagnostics.DiagnosticBag);
CodeGen\Optimizer.cs (2)
1675
var exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
2166
var type = node.
ExceptionTypeOpt
;
Generated\BoundNodes.xml.Generated.cs (4)
4177
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)
11043
TypeSymbol? exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
12997
TypeSymbol? exceptionTypeOpt = GetUpdatedSymbol(node, node.
ExceptionTypeOpt
);
15374
new TreeDumperNode("exceptionTypeOpt", node.
ExceptionTypeOpt
, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
523
var catchType = node.
ExceptionTypeOpt
?? _F.SpecialType(SpecialType.System_Object);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1259
var exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
90
TypeSymbol? rewrittenExceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
Lowering\MethodToClassRewriter.cs (1)
138
this.VisitType(node.
ExceptionTypeOpt
),
Lowering\SpillSequenceSpiller.cs (1)
653
TypeSymbol exceptionTypeOpt = this.VisitType(node.
ExceptionTypeOpt
);
Operations\CSharpOperationFactory.cs (1)
1901
ITypeSymbol exceptionType = boundCatchBlock.
ExceptionTypeOpt
.GetPublicSymbol() ?? _semanticModel.Compilation.ObjectType;