1 write to ExceptionFilterOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4270
this.
ExceptionFilterOpt
= exceptionFilterOpt;
21 references to ExceptionFilterOpt
Microsoft.CodeAnalysis.CSharp (21)
BoundTree\BoundNode_Source.cs (1)
43
if (catchBlock.
ExceptionFilterOpt
is { } exceptionFilter)
CodeGen\EmitStatement.cs (3)
1046
if (catchBlock.
ExceptionFilterOpt
== null)
1198
if (catchBlock.
ExceptionFilterOpt
!= null)
1200
EmitCondExpr(catchBlock.
ExceptionFilterOpt
, true);
CodeGen\Optimizer.cs (3)
1725
if (node.
ExceptionFilterOpt
!= null)
1727
boundFilter = (BoundExpression)this.Visit(node.
ExceptionFilterOpt
);
2291
var filter = node.
ExceptionFilterOpt
;
FlowAnalysis\AbstractFlowPass.cs (2)
1973
if (catchBlock.
ExceptionFilterOpt
!= null)
1975
VisitCondition(catchBlock.
ExceptionFilterOpt
);
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)
10223
this.Visit(node.
ExceptionFilterOpt
);
11436
BoundExpression? exceptionFilterOpt = (BoundExpression?)this.Visit(node.
ExceptionFilterOpt
);
13467
BoundExpression? exceptionFilterOpt = (BoundExpression?)this.Visit(node.
ExceptionFilterOpt
);
15936
new TreeDumperNode("exceptionFilterOpt", null, new TreeDumperNode[] { Visit(node.
ExceptionFilterOpt
, null) }),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
575
var filterOpt = node.
ExceptionFilterOpt
;
Lowering\ClosureConversion\ClosureConversion.cs (1)
1240
var rewrittenFilter = (BoundExpression)this.Visit(node.
ExceptionFilterOpt
);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (2)
80
if (node.
ExceptionFilterOpt
?.ConstantValueOpt?.BooleanValue == false)
87
BoundExpression? rewrittenFilter = (BoundExpression?)this.Visit(node.
ExceptionFilterOpt
);
Lowering\MethodToClassRewriter.cs (1)
140
(BoundExpression?)this.Visit(node.
ExceptionFilterOpt
),
Lowering\SpillSequenceSpiller.cs (1)
715
var exceptionFilterOpt = VisitExpression(ref builder, node.
ExceptionFilterOpt
);
Operations\CSharpOperationFactory.cs (1)
2010
IOperation? filter = Create(boundCatchBlock.
ExceptionFilterOpt
);