2 instantiations of Not
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (2)
2132
Tests.AndSequence a => new
Not
(a),
2134
Tests.One o => new
Not
(o),
11 references to Not
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder.cs (11)
257
case Tests.
Not
n:
258
return Tests.
Not
.Create(scanAndSimplify(n.Negated));
636
return Tests.
Not
.Create(tests);
2050
? AndSequence.Create(
Not
.Create(AndSequence.Create(relationCondition, relationEffect)), other)
2051
: AndSequence.Create(OrSequence.Create(
Not
.Create(relationCondition), relationEffect), other);
2131
Tests.
Not
n => n.Negated, // double negative
2141
builder.Add(
Not
.Create(t));
2160
whenTrue =
Not
.Create(whenTestTrue);
2161
whenFalse =
Not
.Create(whenTestFalse);
2163
public override bool Equals(object? obj) => this == obj || obj is
Not
n && Negated.Equals(n.Negated);
2164
public override int GetHashCode() => Hash.Combine(Negated.GetHashCode(), typeof(
Not
).GetHashCode());