2 instantiations of Not
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (2)
2330Tests.AndSequence a => new Not(a), 2332Tests.One o => new Not(o),
12 references to Not
Microsoft.CodeAnalysis.CSharp (12)
Binder\DecisionDagBuilder.cs (12)
264case Tests.Not n: 285case Tests.Not: 286testsSimplified.Push(Tests.Not.Create(testsSimplified.Pop())); 685return Tests.Not.Create(tests); 2248? AndSequence.Create(Not.Create(AndSequence.Create(relationCondition, relationEffect)), other) 2249: AndSequence.Create(OrSequence.Create(Not.Create(relationCondition), relationEffect), other); 2329Tests.Not n => n.Negated, // double negative 2339builder.Add(Not.Create(t)); 2358whenTrue = Not.Create(whenTestTrue); 2359whenFalse = Not.Create(whenTestFalse); 2361public override bool Equals(object? obj) => this == obj || obj is Not n && Negated.Equals(n.Negated); 2362public override int GetHashCode() => Hash.Combine(Negated.GetHashCode(), typeof(Not).GetHashCode());