12 implementations of MinValue
Microsoft.CodeAnalysis.CSharp (12)
Utilities\ValueSetFactory.ByteTC.cs (1)
18byte INumericTC<byte>.MinValue => byte.MinValue;
Utilities\ValueSetFactory.CharTC.cs (1)
18char INumericTC<char>.MinValue => char.MinValue;
Utilities\ValueSetFactory.DecimalTC.cs (1)
29decimal INumericTC<decimal>.MinValue => decimal.MinValue;
Utilities\ValueSetFactory.DoubleTC.cs (1)
18double INumericTC<double>.MinValue => double.NegativeInfinity;
Utilities\ValueSetFactory.IntTC.cs (1)
28public int MinValue => nonNegative ? 0 : int.MinValue;
Utilities\ValueSetFactory.LongTC.cs (1)
18long INumericTC<long>.MinValue => long.MinValue;
Utilities\ValueSetFactory.SByteTC.cs (1)
17sbyte INumericTC<sbyte>.MinValue => sbyte.MinValue;
Utilities\ValueSetFactory.ShortTC.cs (1)
18short INumericTC<short>.MinValue => short.MinValue;
Utilities\ValueSetFactory.SingleTC.cs (1)
18float INumericTC<float>.MinValue => float.NegativeInfinity;
Utilities\ValueSetFactory.UIntTC.cs (1)
18uint INumericTC<uint>.MinValue => uint.MinValue;
Utilities\ValueSetFactory.ULongTC.cs (1)
18ulong INumericTC<ulong>.MinValue => ulong.MinValue;
Utilities\ValueSetFactory.UShortTC.cs (1)
18ushort INumericTC<ushort>.MinValue => ushort.MinValue;
10 references to MinValue
Microsoft.CodeAnalysis.CSharp (10)
Utilities\ValueSetFactory.INumericTC.cs (1)
51/// when <paramref name="value"/> is <see cref="MinValue"/>.
Utilities\ValueSetFactory.NumericValueSet.cs (6)
27public static NumericValueSet<T> AllValues(INumericTC<T> tc) => new NumericValueSet<T>(tc.MinValue, tc.MaxValue, tc); 39Debug.Assert(intervals.Length == 0 || tc.Related(GreaterThanOrEqual, intervals[0].first, tc.MinValue)); 139if (_tc.Related(LessThan, _tc.MinValue, _intervals[0].first)) 141builder.Add((_tc.MinValue, _tc.Prev(_intervals[0].first))); 212Debug.Assert(tc.Related(GreaterThanOrEqual, first, tc.MinValue)); 215if (builder.Count > 0 && (tc.Related(Equal, tc.MinValue, first) || tc.Related(GreaterThanOrEqual, builder.Last().last, tc.Prev(first))))
Utilities\ValueSetFactory.NumericValueSetFactory.cs (3)
34if (_tc.Related(LessThanOrEqual, value, _tc.MinValue)) 36return new NumericValueSet<T>(_tc.MinValue, _tc.Prev(value), _tc); 38return new NumericValueSet<T>(_tc.MinValue, value, _tc);