1 write to Negated
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3957private Not(Tests negated) => Negated = negated;
10 references to Negated
Microsoft.CodeAnalysis.CSharp (10)
Binder\DecisionDagBuilder.cs (10)
275testsToSimplify.Push(n.Negated); 3962Tests.Not n => n.Negated, // double negative 3979Create(Negated.RemoveEvaluationAndUpdateTempReferences(builder, state, bindings, tempMap, e)), 3985public override Tests RewriteNestedLengthTests() => Create(Negated.RewriteNestedLengthTests()); 3986public override BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) => Negated.ComputeSelectedTest(forLowering, ref suitableForLowering); 3987public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({Negated.Dump(dump)})"; 3998Negated.Filter(builder, test, state, whenTrueValues, whenFalseValues, out var whenTestTrue, out var whenTestFalse, ref foundExplicitNullTest); 4002public override bool Equals(object? obj) => this == obj || obj is Not n && Negated.Equals(n.Negated); 4003public override int GetHashCode() => Hash.Combine(Negated.GetHashCode(), typeof(Not).GetHashCode());