22 references to MinValue
mscorlib (8)
system\byte.cs (2)
125if (i < MinValue || i > MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 144if (i < MinValue || i > MaxValue) {
system\convert.cs (5)
732if (value < Byte.MinValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 738if (value < Byte.MinValue || value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 751if (value < Byte.MinValue || value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 764if (value < Byte.MinValue || value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 1983if (r < Byte.MinValue || r > Byte.MaxValue)
system\decimal.cs (1)
830if (temp < Byte.MinValue || temp > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte"));
System.Data (7)
fx\src\data\System\Data\Common\ByteStorage.cs (1)
111Byte max = Byte.MinValue;
fx\src\data\System\Data\SQLTypes\SQLByte.cs (6)
258if (x.Value > (short)Byte.MaxValue || x.Value < (short)Byte.MinValue) 272if (x.Value > (int)Byte.MaxValue || x.Value < (int)Byte.MinValue) 286if (x.Value > (long)Byte.MaxValue || x.Value < (long)Byte.MinValue) 300if (x.Value > (float)Byte.MaxValue || x.Value < (float)Byte.MinValue) 314if (x.Value > (double)Byte.MaxValue || x.Value < (double)Byte.MinValue) 611public static readonly SqlByte MinValue = new SqlByte(Byte.MinValue);
System.Data.Entity (3)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
716ValidateIntegralDefaultValue(scalar, byte.MinValue, byte.MaxValue);
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
294value = byte.MinValue;
System\Data\Metadata\Helper.cs (1)
517{ PrimitiveTypeKind.Byte, new long[] { Byte.MinValue, Byte.MaxValue } },
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
53if (value < byte.MinValue || value > byte.MaxValue)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
597if (value < byte.MinValue || value > byte.MaxValue)
System.Xml (2)
System\Xml\Schema\DataTypeImplementation.cs (1)
3369static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(byte.MinValue, byte.MaxValue);
System\Xml\Schema\XmlValueConverter.cs (1)
831if (value < (int) Byte.MinValue || value > (int) Byte.MaxValue)