1 write to _hasFalse
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.BoolValueSet.cs (1)
22
private BoolValueSet(bool hasFalse, bool hasTrue) => (
_hasFalse
, _hasTrue) = (hasFalse, hasTrue);
10 references to _hasFalse
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());
50
return
_hasFalse
;
63
return !
_hasFalse
;
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