4 instantiations of BoolValueSet
Microsoft.CodeAnalysis.CSharp (4)
Utilities\ValueSetFactory.BoolValueSet.cs (4)
17
internal static readonly BoolValueSet AllValues = new
BoolValueSet
(hasFalse: true, hasTrue: true);
18
internal static readonly BoolValueSet None = new
BoolValueSet
(hasFalse: false, hasTrue: false);
19
internal static readonly BoolValueSet OnlyTrue = new
BoolValueSet
(hasFalse: false, hasTrue: true);
20
internal static readonly BoolValueSet OnlyFalse = new
BoolValueSet
(hasFalse: true, hasTrue: false);
19 references to BoolValueSet
Microsoft.CodeAnalysis.CSharp (19)
Utilities\ValueSetFactory.BoolValueSet.cs (9)
17
internal static readonly
BoolValueSet
AllValues = new BoolValueSet(hasFalse: true, hasTrue: true);
18
internal static readonly
BoolValueSet
None = new BoolValueSet(hasFalse: false, hasTrue: false);
19
internal static readonly
BoolValueSet
OnlyTrue = new BoolValueSet(hasFalse: false, hasTrue: true);
20
internal static readonly
BoolValueSet
OnlyFalse = new BoolValueSet(hasFalse: true, hasTrue: false);
24
public static
BoolValueSet
Create(bool hasFalse, bool hasTrue)
81
BoolValueSet
o = (
BoolValueSet
)other;
91
BoolValueSet
o = (
BoolValueSet
)other;
Utilities\ValueSetFactory.BoolValueSetFactory.cs (10)
24
IValueSet IValueSetFactory.AllValues =>
BoolValueSet
.AllValues;
26
IValueSet IValueSetFactory.NoValues =>
BoolValueSet
.None;
33
return
BoolValueSet
.OnlyTrue;
35
return
BoolValueSet
.OnlyFalse;
38
return
BoolValueSet
.AllValues;
44
0 =>
BoolValueSet
.None,
45
1 =>
BoolValueSet
.OnlyFalse,
46
2 =>
BoolValueSet
.OnlyTrue,
47
3 =>
BoolValueSet
.AllValues,
55
return value.IsBad ?
BoolValueSet
.AllValues : Related(relation, value.BooleanValue);