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