2 instantiations of BoundIsPatternExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
324return new BoundIsPatternExpression(
Generated\BoundNodes.xml.Generated.cs (1)
8121var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, hasUnionMatching, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.HasErrors);
25 references to BoundIsPatternExpression
Microsoft.CodeAnalysis.CSharp (21)
Binder\RefSafetyAnalysis.cs (1)
633public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node)
CodeGen\Optimizer.cs (1)
1402public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
FlowAnalysis\AbstractFlowPass.cs (1)
921public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (1)
1153public override BoundNode VisitIsPatternExpression(BoundIsPatternExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
8117public BoundIsPatternExpression Update(BoundExpression expression, BoundPattern pattern, bool hasUnionMatching, bool isNegated, BoundDecisionDag reachabilityDecisionDag, LabelSymbol whenTrueLabel, LabelSymbol whenFalseLabel, TypeSymbol? type) 8121var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, hasUnionMatching, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.HasErrors); 9520return VisitIsPatternExpression((BoundIsPatternExpression)node, arg); 9790public virtual R VisitIsPatternExpression(BoundIsPatternExpression node, A arg) => this.DefaultVisit(node, arg); 10031public virtual BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) => this.DefaultVisit(node); 10974public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) 12507public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) 15186public override BoundNode? VisitIsPatternExpression(BoundIsPatternExpression node) 15191BoundIsPatternExpression updatedNode; 17436public override TreeDumperNode VisitIsPatternExpression(BoundIsPatternExpression node, object? arg) => new TreeDumperNode("isPatternExpression", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1056public 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)
250return CreateBoundIsPatternExpressionOperation((BoundIsPatternExpression)boundNode); 2837private IIsPatternOperation CreateBoundIsPatternExpressionOperation(BoundIsPatternExpression boundIsPatternExpression)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\PatternMatchingTests4.cs (2)
4237var boundIsPattern = (BoundIsPatternExpression)binder.BindExpression(@is, BindingDiagnosticBag.Discarded);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
3323var b = (BoundIsPatternExpression)binder.BindExpression(n, BindingDiagnosticBag.Discarded);