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