1 instantiation of BoundNegatedPattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8482
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)
928
BoundDeclarationPattern or BoundConstantPattern or
BoundNegatedPattern
or BoundBinaryPattern or
995
case
BoundNegatedPattern
negated:
1036
case
BoundNegatedPattern
negated:
FlowAnalysis\DefiniteAssignment.cs (2)
2080
var
pat = (
BoundNegatedPattern
)pattern;
FlowAnalysis\NullableWalker_Patterns.cs (2)
106
public override BoundNode VisitNegatedPattern(
BoundNegatedPattern
node)
220
case
BoundNegatedPattern
p:
Generated\BoundNodes.xml.Generated.cs (9)
8478
public
BoundNegatedPattern
Update(BoundPattern negated, TypeSymbol inputType, TypeSymbol narrowedType)
8482
var
result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.HasErrors);
9275
return VisitNegatedPattern((
BoundNegatedPattern
)node, arg);
9525
public virtual R VisitNegatedPattern(
BoundNegatedPattern
node, A arg) => this.DefaultVisit(node, arg);
9761
public virtual BoundNode? VisitNegatedPattern(
BoundNegatedPattern
node) => this.DefaultVisit(node);
10744
public override BoundNode? VisitNegatedPattern(
BoundNegatedPattern
node)
12145
public override BoundNode? VisitNegatedPattern(
BoundNegatedPattern
node)
14814
public override BoundNode? VisitNegatedPattern(
BoundNegatedPattern
node)
17026
public override TreeDumperNode VisitNegatedPattern(
BoundNegatedPattern
node, object? arg) => new TreeDumperNode("negatedPattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
237
return CreateBoundNegatedPatternOperation((
BoundNegatedPattern
)boundNode);
2632
private IOperation CreateBoundNegatedPatternOperation(
BoundNegatedPattern
boundNegatedPattern)