1 write to _tc
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (1)
25
public EnumeratedValueSetFactory(IEquatableValueTC<T> tc) {
_tc
= tc; }
12 references to _tc
Microsoft.CodeAnalysis.CSharp (12)
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (12)
21
IValueSet IValueSetFactory.AllValues => EnumeratedValueSet<T>.AllValues(
_tc
);
23
IValueSet IValueSetFactory.NoValues => EnumeratedValueSet<T>.NoValues(
_tc
);
32
return EnumeratedValueSet<T>.Including(value,
_tc
);
34
return EnumeratedValueSet<T>.AllValues(
_tc
); // supported for error recovery
39
value.IsBad || value.IsNull ? EnumeratedValueSet<T>.AllValues(
_tc
) : this.Related(relation,
_tc
.FromConstantValue(value));
44
return
_tc
.FromConstantValue(left).Equals(
_tc
.FromConstantValue(right));
49
T[] values =
_tc
.RandomValues(expectedSize, random, expectedSize * 2);
50
IValueSet<T> result = EnumeratedValueSet<T>.NoValues(
_tc
);
60
return
_tc
.ToConstantValue(
_tc
.RandomValues(1, random, 100)[0]);