1 write to Negated
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8500
this.
Negated
= negated;
19 references to Negated
Microsoft.CodeAnalysis.CSharp (19)
Binder\DecisionDagBuilder.cs (1)
638
var tests = MakeTestsAndBindings(input, neg.
Negated
, bindings);
Binder\DecisionDagBuilder_CheckOrReachability.cs (4)
893
if (pattern is BoundNegatedPattern {
Negated
: BoundDiscardPattern })
914
this.Visit(node.
Negated
);
926
if (node is BoundNegatedPattern {
Negated
: var negated })
1001
WithInputTypeCheckIfNeeded(negatedPattern.
Negated
, inputType),
BoundTree\BoundNegatedPattern.cs (1)
14
Debug.Assert(
Negated
.InputType.Equals(InputType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundNode_Source.cs (1)
366
appendSource(negatedPattern.
Negated
);
BoundTree\BoundPattern.cs (1)
21
innerPattern = negatedPattern.
Negated
;
FlowAnalysis\AbstractFlowPass.cs (2)
995
return !patternMatchesNull(negated.
Negated
);
1036
return !isBoolTest(negated.
Negated
);
FlowAnalysis\DefiniteAssignment.cs (1)
2045
assignPatternVariablesAndMarkReadFields(pat.
Negated
, definitely: false);
FlowAnalysis\NullableWalker_Patterns.cs (2)
108
Visit(node.
Negated
);
221
LearnFromAnyNullPatterns(inputSlot, inputType, p.
Negated
);
Generated\BoundNodes.xml.Generated.cs (5)
8514
if (negated != this.
Negated
|| !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
10785
this.Visit(node.
Negated
);
12331
BoundPattern negated = (BoundPattern)this.Visit(node.
Negated
);
14983
BoundPattern negated = (BoundPattern)this.Visit(node.
Negated
);
17195
new TreeDumperNode("negated", null, new TreeDumperNode[] { Visit(node.
Negated
, null) }),
Operations\CSharpOperationFactory.cs (1)
2635
(IPatternOperation)Create(boundNegatedPattern.
Negated
),