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