1 instantiation of BoundNegatedPattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8480var 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)
308case BoundNegatedPattern neg: 636private 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)
929BoundDeclarationPattern or BoundConstantPattern or BoundNegatedPattern or BoundBinaryPattern or 996case BoundNegatedPattern negated: 1027case BoundNegatedPattern negated:
FlowAnalysis\DefiniteAssignment.cs (2)
2060var pat = (BoundNegatedPattern)pattern;
FlowAnalysis\NullableWalker_Patterns.cs (2)
106public override BoundNode VisitNegatedPattern(BoundNegatedPattern node) 198case BoundNegatedPattern p:
Generated\BoundNodes.xml.Generated.cs (9)
8476public BoundNegatedPattern Update(BoundPattern negated, TypeSymbol inputType, TypeSymbol narrowedType) 8480var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.HasErrors); 9273return VisitNegatedPattern((BoundNegatedPattern)node, arg); 9523public virtual R VisitNegatedPattern(BoundNegatedPattern node, A arg) => this.DefaultVisit(node, arg); 9759public virtual BoundNode? VisitNegatedPattern(BoundNegatedPattern node) => this.DefaultVisit(node); 10742public override BoundNode? VisitNegatedPattern(BoundNegatedPattern node) 12143public override BoundNode? VisitNegatedPattern(BoundNegatedPattern node) 14812public override BoundNode? VisitNegatedPattern(BoundNegatedPattern node) 17023public override TreeDumperNode VisitNegatedPattern(BoundNegatedPattern node, object? arg) => new TreeDumperNode("negatedPattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
237return CreateBoundNegatedPatternOperation((BoundNegatedPattern)boundNode); 2597private IOperation CreateBoundNegatedPatternOperation(BoundNegatedPattern boundNegatedPattern)