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