1 write to _hasTrue
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.BoolValueSet.cs (1)
22
private BoolValueSet(bool hasFalse, bool hasTrue) => (_hasFalse,
_hasTrue
) = (hasFalse, hasTrue);
10 references to _hasTrue
Microsoft.CodeAnalysis.CSharp (10)
Utilities\ValueSetFactory.BoolValueSet.cs (10)
39
bool IValueSet.IsEmpty => !_hasFalse && !
_hasTrue
;
41
ConstantValue IValueSet.Sample => ConstantValue.Create(
_hasTrue
? true : _hasFalse ? false : throw new ArgumentException());
48
return
_hasTrue
;
65
return !
_hasTrue
;
73
public IValueSet<bool> Complement() => Create(!_hasFalse, !
_hasTrue
);
82
return Create(hasFalse: this._hasFalse & o._hasFalse, hasTrue: this.
_hasTrue
& o.
_hasTrue
);
92
return Create(hasFalse: this._hasFalse | o._hasFalse, hasTrue: this.
_hasTrue
| o.
_hasTrue
);
102
public override string ToString() => (_hasFalse,
_hasTrue
) switch