5 references to NonNegativeInstance
Microsoft.CodeAnalysis.CSharp (5)
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (5)
17
private static readonly IValueSetFactory<int> s_underlying = new NumericValueSetFactory<int>(IntTC.
NonNegativeInstance
);
21
public IValueSet AllValues => NumericValueSet<int>.AllValues(IntTC.
NonNegativeInstance
);
23
public IValueSet NoValues => NumericValueSet<int>.NoValues(IntTC.
NonNegativeInstance
);
27
var tc = IntTC.
NonNegativeInstance
;
58
value.IsBad ? AllValues : Related(relation, IntTC.
NonNegativeInstance
.FromConstantValue(value));