17 references to ExceptionSourceOpt
Microsoft.CodeAnalysis.VisualBasic (17)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
2090If catchBlock.ExceptionSourceOpt IsNot Nothing Then 2091VisitLvalue(catchBlock.ExceptionSourceOpt)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1496Dim exceptionSource = catchBlock.ExceptionSourceOpt
CodeGen\EmitStatement.vb (1)
194Dim exceptionSource = catchBlock.ExceptionSourceOpt
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1100Dim exceptionVariableOpt As BoundExpression = Me.VisitExpression(node.ExceptionSourceOpt, ExprContext.Value)
Generated\BoundNodes.xml.Generated.vb (4)
5879If localOpt IsNot Me.LocalOpt OrElse exceptionSourceOpt IsNot Me.ExceptionSourceOpt OrElse errorLineNumberOpt IsNot Me.ErrorLineNumberOpt OrElse exceptionFilterOpt IsNot Me.ExceptionFilterOpt OrElse body IsNot Me.Body OrElse isSynthesizedAsyncCatchAll <> Me.IsSynthesizedAsyncCatchAll Then 11673Me.Visit(node.ExceptionSourceOpt) 12701Dim exceptionSourceOpt As BoundExpression = DirectCast(Me.Visit(node.ExceptionSourceOpt), BoundExpression) 14036New TreeDumperNode("exceptionSourceOpt", Nothing, new TreeDumperNode() {Visit(node.ExceptionSourceOpt, Nothing)}),
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
840Dim rewrittenExceptionSource = DirectCast(Me.Visit(node.ExceptionSourceOpt), BoundExpression)
Lowering\LocalRewriter\LocalRewriter_Try.vb (1)
143Dim newExceptionSource = VisitExpressionNode(node.ExceptionSourceOpt)
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
449Dim rewrittenExceptionVariable As BoundExpression = DirectCast(Me.Visit(node.ExceptionSourceOpt), BoundExpression)
Operations\VisualBasicOperationFactory.vb (5)
1275If(boundCatchBlock.ExceptionSourceOpt?.Kind = BoundKind.Local, False) AndAlso 1276boundCatchBlock.LocalOpt Is DirectCast(boundCatchBlock.ExceptionSourceOpt, BoundLocal).LocalSymbol Then 1277Return New VariableDeclaratorOperation(boundCatchBlock.LocalOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=boundCatchBlock.ExceptionSourceOpt.Syntax, isImplicit:=False) 1279Return Create(boundCatchBlock.ExceptionSourceOpt) 1287Dim exceptionType As ITypeSymbol = If(boundCatchBlock.ExceptionSourceOpt?.Type, DirectCast(_semanticModel.Compilation, VisualBasicCompilation).GetWellKnownType(WellKnownType.System_Exception))