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