12 implementations of MaxValue
Microsoft.CodeAnalysis.CSharp (12)
Utilities\ValueSetFactory.ByteTC.cs (1)
20byte INumericTC<byte>.MaxValue => byte.MaxValue;
Utilities\ValueSetFactory.CharTC.cs (1)
20char INumericTC<char>.MaxValue => char.MaxValue;
Utilities\ValueSetFactory.DecimalTC.cs (1)
31decimal INumericTC<decimal>.MaxValue => decimal.MaxValue;
Utilities\ValueSetFactory.DoubleTC.cs (1)
20double INumericTC<double>.MaxValue => double.PositiveInfinity;
Utilities\ValueSetFactory.IntTC.cs (1)
30int INumericTC<int>.MaxValue => int.MaxValue;
Utilities\ValueSetFactory.LongTC.cs (1)
20long INumericTC<long>.MaxValue => long.MaxValue;
Utilities\ValueSetFactory.SByteTC.cs (1)
19sbyte INumericTC<sbyte>.MaxValue => sbyte.MaxValue;
Utilities\ValueSetFactory.ShortTC.cs (1)
20short INumericTC<short>.MaxValue => short.MaxValue;
Utilities\ValueSetFactory.SingleTC.cs (1)
20float INumericTC<float>.MaxValue => float.PositiveInfinity;
Utilities\ValueSetFactory.UIntTC.cs (1)
20uint INumericTC<uint>.MaxValue => uint.MaxValue;
Utilities\ValueSetFactory.ULongTC.cs (1)
20ulong INumericTC<ulong>.MaxValue => ulong.MaxValue;
Utilities\ValueSetFactory.UShortTC.cs (1)
20ushort INumericTC<ushort>.MaxValue => ushort.MaxValue;
8 references to MaxValue
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.INumericTC.cs (1)
45/// when <paramref name="value"/> is <see cref="MaxValue"/>.
Utilities\ValueSetFactory.NumericValueSet.cs (4)
27public static NumericValueSet<T> AllValues(INumericTC<T> tc) => new NumericValueSet<T>(tc.MinValue, tc.MaxValue, tc); 152if (_tc.Related(LessThan, _intervals[lastIndex].last, _tc.MaxValue)) 154builder.Add((_tc.Next(_intervals[lastIndex].last), _tc.MaxValue)); 213Debug.Assert(tc.Related(LessThanOrEqual, last, tc.MaxValue));
Utilities\ValueSetFactory.NumericValueSetFactory.cs (3)
40if (_tc.Related(GreaterThanOrEqual, value, _tc.MaxValue)) 42return new NumericValueSet<T>(_tc.Next(value), _tc.MaxValue, _tc); 44return new NumericValueSet<T>(value, _tc.MaxValue, _tc);