2 instantiations of BoundIsPatternExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
127return new BoundIsPatternExpression(
Generated\BoundNodes.xml.Generated.cs (1)
7971var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.HasErrors);
24 references to BoundIsPatternExpression
Microsoft.CodeAnalysis.CSharp (21)
Binder\RefSafetyAnalysis.cs (1)
590public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node)
CodeGen\Optimizer.cs (1)
1402public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
FlowAnalysis\AbstractFlowPass.cs (1)
920public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (1)
1055public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
7967public BoundIsPatternExpression Update(BoundExpression expression, BoundPattern pattern, bool isNegated, BoundDecisionDag reachabilityDecisionDag, LabelSymbol whenTrueLabel, LabelSymbol whenFalseLabel, TypeSymbol? type) 7971var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.HasErrors); 9277return VisitIsPatternExpression((BoundIsPatternExpression)node, arg); 9540public virtual R VisitIsPatternExpression(BoundIsPatternExpression node, A arg) => this.DefaultVisit(node, arg); 9776public virtual BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) => this.DefaultVisit(node); 10703public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) 12207public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) 14852public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) 14857BoundIsPatternExpression updatedNode; 17056public override TreeDumperNode VisitIsPatternExpression(BoundIsPatternExpression node, object? arg) => new TreeDumperNode("isPatternExpression", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1047public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (4)
15public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node) 109internal BoundExpression LowerGeneralIsPattern(BoundIsPatternExpression node, BoundDecisionDag decisionDag) 158public IsPatternExpressionLinearLocalRewriter(BoundIsPatternExpression node, LocalRewriter localRewriter) 219BoundIsPatternExpression isPatternExpression,
Operations\CSharpOperationFactory.cs (2)
251return CreateBoundIsPatternExpressionOperation((BoundIsPatternExpression)boundNode); 2771private IIsPatternOperation CreateBoundIsPatternExpressionOperation(BoundIsPatternExpression boundIsPatternExpression)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\PatternMatchingTestBase.cs (1)
465IsPatternExpressionSyntax n => ((BoundIsPatternExpression)binder.BindExpression(n, BindingDiagnosticBag.Discarded)).ReachabilityDecisionDag,
Semantics\PatternMatchingTests4.cs (2)
4234var boundIsPattern = (BoundIsPatternExpression)binder.BindExpression(@is, BindingDiagnosticBag.Discarded);