2 instantiations of BoundNegatedPattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
1717return new BoundNegatedPattern(node, subPattern, inputType: inputType, narrowedType: inputType, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
8164var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.HasErrors);
24 references to BoundNegatedPattern
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Patterns.cs (2)
79case BoundNegatedPattern _: 114case BoundNegatedPattern _:
Binder\DecisionDagBuilder.cs (2)
305case BoundNegatedPattern neg: 633private Tests MakeTestsAndBindingsForNegatedPattern(BoundDagTemp input, BoundNegatedPattern neg, ArrayBuilder<BoundPatternBinding> bindings)
BoundTree\BoundPattern.cs (2)
11/// <see cref="BoundNegatedPattern"/>s, and returns true if the original pattern is a 18while (innerPattern is BoundNegatedPattern negatedPattern)
FlowAnalysis\AbstractFlowPass.cs (3)
921BoundDeclarationPattern or BoundConstantPattern or BoundNegatedPattern or BoundBinaryPattern or 988case BoundNegatedPattern negated: 1019case BoundNegatedPattern negated:
FlowAnalysis\DefiniteAssignment.cs (2)
1954var pat = (BoundNegatedPattern)pattern;
FlowAnalysis\NullableWalker_Patterns.cs (2)
106public override BoundNode VisitNegatedPattern(BoundNegatedPattern node) 198case BoundNegatedPattern p:
Generated\BoundNodes.xml.Generated.cs (9)
8160public BoundNegatedPattern Update(BoundPattern negated, TypeSymbol inputType, TypeSymbol narrowedType) 8164var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.HasErrors); 8941return VisitNegatedPattern((BoundNegatedPattern)node, arg); 9183public virtual R VisitNegatedPattern(BoundNegatedPattern node, A arg) => this.DefaultVisit(node, arg); 9411public virtual BoundNode? VisitNegatedPattern(BoundNegatedPattern node) => this.DefaultVisit(node); 10365public override BoundNode? VisitNegatedPattern(BoundNegatedPattern node) 11711public override BoundNode? VisitNegatedPattern(BoundNegatedPattern node) 14277public override BoundNode? VisitNegatedPattern(BoundNegatedPattern node) 16406public override TreeDumperNode VisitNegatedPattern(BoundNegatedPattern node, object? arg) => new TreeDumperNode("negatedPattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
233return CreateBoundNegatedPatternOperation((BoundNegatedPattern)boundNode); 2515private IOperation CreateBoundNegatedPatternOperation(BoundNegatedPattern boundNegatedPattern)