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