1 write to ExceptionSourceOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4156
this.
ExceptionSourceOpt
= exceptionSourceOpt;
21 references to ExceptionSourceOpt
Microsoft.CodeAnalysis.CSharp (21)
CodeGen\EmitStatement.cs (1)
1096
var exceptionSourceOpt = catchBlock.
ExceptionSourceOpt
;
CodeGen\Optimizer.cs (2)
1620
var exceptionSourceOpt = node.
ExceptionSourceOpt
;
2165
var exceptionSource = node.
ExceptionSourceOpt
;
FlowAnalysis\AbstractFlowPass.cs (2)
1822
if (catchBlock.
ExceptionSourceOpt
!= null)
1824
VisitLvalue(catchBlock.
ExceptionSourceOpt
);
FlowAnalysis\DefiniteAssignment.cs (1)
2513
var exceptionSource = catchBlock.
ExceptionSourceOpt
;
FlowAnalysis\NullableWalker.cs (2)
11101
if (node.
ExceptionSourceOpt
!= null)
11103
VisitWithoutDiagnostics(node.
ExceptionSourceOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4177
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)
9864
this.Visit(node.
ExceptionSourceOpt
);
11039
BoundExpression? exceptionSourceOpt = (BoundExpression?)this.Visit(node.
ExceptionSourceOpt
);
12998
BoundExpression? exceptionSourceOpt = (BoundExpression?)this.Visit(node.
ExceptionSourceOpt
);
15373
new TreeDumperNode("exceptionSourceOpt", null, new TreeDumperNode[] { Visit(node.
ExceptionSourceOpt
, null) }),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
581
var sourceOpt = node.
ExceptionSourceOpt
;
614
var sourceOpt = node.
ExceptionSourceOpt
;
Lowering\ClosureConversion\ClosureConversion.cs (2)
1225
if (node.
ExceptionSourceOpt
!= null)
1227
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)
638
BoundExpression exceptionSourceOpt = (BoundExpression)this.Visit(node.
ExceptionSourceOpt
);
Operations\CSharpOperationFactory.cs (1)
1896
IOperation? exceptionDeclarationOrExpression = CreateVariableDeclarator((BoundLocal?)boundCatchBlock.
ExceptionSourceOpt
);