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