19 references to ExceptionSourceOpt
Microsoft.CodeAnalysis.VisualBasic (19)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
2074If catchBlock.ExceptionSourceOpt IsNot Nothing Then 2075VisitLvalue(catchBlock.ExceptionSourceOpt)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1490Dim exceptionSource = catchBlock.ExceptionSourceOpt
Binding\Binder_Statements.vb (2)
4837If previousBlock.ExceptionSourceOpt IsNot Nothing Then 4838previousType = previousBlock.ExceptionSourceOpt.Type
CodeGen\EmitStatement.vb (1)
194Dim exceptionSource = catchBlock.ExceptionSourceOpt
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1102Dim exceptionVariableOpt As BoundExpression = Me.VisitExpression(node.ExceptionSourceOpt, ExprContext.Value)
Generated\BoundNodes.xml.Generated.vb (4)
5869If 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 11648Me.Visit(node.ExceptionSourceOpt) 12676Dim exceptionSourceOpt As BoundExpression = DirectCast(Me.Visit(node.ExceptionSourceOpt), BoundExpression) 14008New TreeDumperNode("exceptionSourceOpt", Nothing, new TreeDumperNode() {Visit(node.ExceptionSourceOpt, Nothing)}),
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
820Dim rewrittenExceptionSource = DirectCast(Me.Visit(node.ExceptionSourceOpt), BoundExpression)
Lowering\LocalRewriter\LocalRewriter_Try.vb (1)
143Dim newExceptionSource = VisitExpressionNode(node.ExceptionSourceOpt)
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
448Dim rewrittenExceptionVariable As BoundExpression = DirectCast(Me.Visit(node.ExceptionSourceOpt), BoundExpression)
Operations\VisualBasicOperationFactory.vb (5)
1273If(boundCatchBlock.ExceptionSourceOpt?.Kind = BoundKind.Local, False) AndAlso 1274boundCatchBlock.LocalOpt Is DirectCast(boundCatchBlock.ExceptionSourceOpt, BoundLocal).LocalSymbol Then 1275Return New VariableDeclaratorOperation(boundCatchBlock.LocalOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=boundCatchBlock.ExceptionSourceOpt.Syntax, isImplicit:=False) 1277Return Create(boundCatchBlock.ExceptionSourceOpt) 1285Dim exceptionType As ITypeSymbol = If(boundCatchBlock.ExceptionSourceOpt?.Type, DirectCast(_semanticModel.Compilation, VisualBasicCompilation).GetWellKnownType(WellKnownType.System_Exception))