1 write to ExceptionSourceOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4267
this.
ExceptionSourceOpt
= exceptionSourceOpt;
22 references to ExceptionSourceOpt
Microsoft.CodeAnalysis.CSharp (22)
BoundTree\BoundNode_Source.cs (1)
41
appendSource(catchBlock.
ExceptionSourceOpt
);
CodeGen\EmitStatement.cs (1)
1121
var exceptionSourceOpt = catchBlock.
ExceptionSourceOpt
;
CodeGen\Optimizer.cs (2)
1687
var exceptionSourceOpt = node.
ExceptionSourceOpt
;
2288
var exceptionSource = node.
ExceptionSourceOpt
;
FlowAnalysis\AbstractFlowPass.cs (2)
1963
if (catchBlock.
ExceptionSourceOpt
!= null)
1965
VisitLvalue(catchBlock.
ExceptionSourceOpt
);
FlowAnalysis\DefiniteAssignment.cs (1)
2681
var exceptionSource = catchBlock.
ExceptionSourceOpt
;
FlowAnalysis\NullableWalker.cs (2)
12020
if (node.
ExceptionSourceOpt
!= null)
12022
VisitWithoutDiagnostics(node.
ExceptionSourceOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4288
if (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)
10221
this.Visit(node.
ExceptionSourceOpt
);
11434
BoundExpression? exceptionSourceOpt = (BoundExpression?)this.Visit(node.
ExceptionSourceOpt
);
13465
BoundExpression? exceptionSourceOpt = (BoundExpression?)this.Visit(node.
ExceptionSourceOpt
);
15933
new TreeDumperNode("exceptionSourceOpt", null, new TreeDumperNode[] { Visit(node.
ExceptionSourceOpt
, null) }),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
612
var sourceOpt = node.
ExceptionSourceOpt
;
645
var sourceOpt = node.
ExceptionSourceOpt
;
Lowering\ClosureConversion\ClosureConversion.cs (2)
1241
if (node.
ExceptionSourceOpt
!= null)
1243
rewrittenExceptionSource = (BoundExpression)Visit(node.
ExceptionSourceOpt
);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
85
BoundExpression? rewrittenExceptionSourceOpt = (BoundExpression?)this.Visit(node.
ExceptionSourceOpt
);
Lowering\MethodToClassRewriter.cs (1)
137
(BoundExpression?)this.Visit(node.
ExceptionSourceOpt
),
Lowering\SpillSequenceSpiller.cs (1)
709
BoundExpression exceptionSourceOpt = (BoundExpression)this.Visit(node.
ExceptionSourceOpt
);
Operations\CSharpOperationFactory.cs (1)
2007
IOperation? exceptionDeclarationOrExpression = CreateVariableDeclarator((BoundLocal?)boundCatchBlock.
ExceptionSourceOpt
);