1 implementation of FromConstantValue
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.StringTC.cs (1)
17
string IEquatableValueTC<string>.
FromConstantValue
(ConstantValue constantValue)
5 references to FromConstantValue
Microsoft.CodeAnalysis.CSharp (5)
Utilities\ValueSetFactory.EnumeratedValueSet.cs (2)
88
bool IValueSet.Any(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, _tc.
FromConstantValue
(value));
111
bool IValueSet.All(BinaryOperatorKind relation, ConstantValue value) => !value.IsBad && All(relation, _tc.
FromConstantValue
(value));
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (3)
39
value.IsBad || value.IsNull ? EnumeratedValueSet<T>.AllValues(_tc) : this.Related(relation, _tc.
FromConstantValue
(value));
44
return _tc.
FromConstantValue
(left).Equals(_tc.
FromConstantValue
(right));