1 write to Negated
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2280
private Not(Tests negated) =>
Negated
= negated;
10 references to Negated
Microsoft.CodeAnalysis.CSharp (10)
Binder\DecisionDagBuilder.cs (10)
261
return Tests.Not.Create(scanAndSimplify(n.
Negated
));
2285
Tests.Not n => n.
Negated
, // double negative
2299
public override Tests RemoveEvaluation(BoundDagEvaluation e) => Create(
Negated
.RemoveEvaluation(e));
2300
public override Tests RewriteNestedLengthTests() => Create(
Negated
.RewriteNestedLengthTests());
2301
public override BoundDagTest ComputeSelectedTest() =>
Negated
.ComputeSelectedTest();
2302
public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({
Negated
.Dump(dump)})";
2313
Negated
.Filter(builder, test, state, whenTrueValues, whenFalseValues, out var whenTestTrue, out var whenTestFalse, ref foundExplicitNullTest);
2317
public override bool Equals(object? obj) => this == obj || obj is Not n &&
Negated
.Equals(n.
Negated
);
2318
public override int GetHashCode() => Hash.Combine(
Negated
.GetHashCode(), typeof(Not).GetHashCode());