1 write to ExceptionTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4269this.ExceptionTypeOpt = exceptionTypeOpt;
17 references to ExceptionTypeOpt
Microsoft.CodeAnalysis.CSharp (17)
BoundTree\BoundNode_Source.cs (1)
39append(catchBlock.ExceptionTypeOpt?.Name);
CodeGen\EmitStatement.cs (4)
1048var exceptionType = ((object)catchBlock.ExceptionTypeOpt != null) ? 1049_module.Translate(catchBlock.ExceptionTypeOpt, catchBlock.Syntax, _diagnostics.DiagnosticBag) : 1094if ((object)catchBlock.ExceptionTypeOpt != null) 1096var exceptionType = _module.Translate(catchBlock.ExceptionTypeOpt, catchBlock.Syntax, _diagnostics.DiagnosticBag);
CodeGen\Optimizer.cs (2)
1742var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2289var type = node.ExceptionTypeOpt;
Generated\BoundNodes.xml.Generated.cs (4)
4289if (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) 11439TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 13465TypeSymbol? exceptionTypeOpt = GetUpdatedSymbol(node, node.ExceptionTypeOpt); 15935new TreeDumperNode("exceptionTypeOpt", node.ExceptionTypeOpt, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
554var catchType = node.ExceptionTypeOpt ?? _F.SpecialType(SpecialType.System_Object);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1275var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
90TypeSymbol? rewrittenExceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);
Lowering\MethodToClassRewriter.cs (1)
138this.VisitType(node.ExceptionTypeOpt),
Lowering\SpillSequenceSpiller.cs (1)
724TypeSymbol exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);
Operations\CSharpOperationFactory.cs (1)
2012ITypeSymbol exceptionType = boundCatchBlock.ExceptionTypeOpt.GetPublicSymbol() ?? _semanticModel.Compilation.ObjectType;