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