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