1 write to EnabledFeatures
ILLink.RoslynAnalyzer (1)
DataFlow\FeatureContextLattice.cs (1)
26
EnabledFeatures
= enabled;
13 references to EnabledFeatures
ILLink.RoslynAnalyzer (13)
DataFlow\FeatureContextLattice.cs (13)
31
return
EnabledFeatures
.IsUnknown() ||
EnabledFeatures
.Contains(feature);
34
public bool Equals(FeatureContext other) =>
EnabledFeatures
== other.
EnabledFeatures
;
36
public override int GetHashCode() =>
EnabledFeatures
.GetHashCode();
43
return new FeatureContext(
EnabledFeatures
.DeepCopy());
48
return new FeatureContext(ValueSet<string>.Intersection(
EnabledFeatures
, other.
EnabledFeatures
));
53
return new FeatureContext(ValueSet<string>.Union(
EnabledFeatures
, other.
EnabledFeatures
));
58
if (
EnabledFeatures
.IsUnknown())
60
if (
EnabledFeatures
.IsEmpty())
62
return string.Join(", ",
EnabledFeatures
.GetKnownValues());