1 write to Negated
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2278
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
));
2283
Tests.Not n => n.
Negated
, // double negative
2297
public override Tests RemoveEvaluation(BoundDagEvaluation e) => Create(
Negated
.RemoveEvaluation(e));
2298
public override Tests RewriteNestedLengthTests() => Create(
Negated
.RewriteNestedLengthTests());
2299
public override BoundDagTest ComputeSelectedTest() =>
Negated
.ComputeSelectedTest();
2300
public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({
Negated
.Dump(dump)})";
2311
Negated
.Filter(builder, test, state, whenTrueValues, whenFalseValues, out var whenTestTrue, out var whenTestFalse, ref foundExplicitNullTest);
2315
public override bool Equals(object? obj) => this == obj || obj is Not n &&
Negated
.Equals(n.
Negated
);
2316
public override int GetHashCode() => Hash.Combine(
Negated
.GetHashCode(), typeof(Not).GetHashCode());