8 references to DefaultInstance
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.cs (1)
19internal static readonly IValueSetFactory<int> ForInt = new NumericValueSetFactory<int>(IntTC.DefaultInstance);
Utilities\ValueSetFactory.NintValueSet.cs (2)
17public static readonly NintValueSet AllValues = new NintValueSet(hasSmall: true, values: NumericValueSet<int>.AllValues(IntTC.DefaultInstance), hasLarge: true); 19public static readonly NintValueSet NoValues = new NintValueSet(hasSmall: false, values: NumericValueSet<int>.NoValues(IntTC.DefaultInstance), hasLarge: false);
Utilities\ValueSetFactory.NintValueSetFactory.cs (5)
27values: new NumericValueSetFactory<int>(IntTC.DefaultInstance).Related(relation, value), 36values: (IValueSet<int>)new NumericValueSetFactory<int>(IntTC.DefaultInstance).Random(expectedSize, random), 41ConstantValue IValueSetFactory.RandomValue(Random random) => ConstantValue.CreateNativeInt(IntTC.DefaultInstance.Random(random)); 45return value.IsBad ? NintValueSet.AllValues : Related(relation, IntTC.DefaultInstance.FromConstantValue(value)); 50var tc = IntTC.DefaultInstance;