23 references to MinValue
mscorlib (7)
system\convert.cs (3)
846if (value < Int16.MinValue || value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 863if (value < Int16.MinValue || value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 2020if (r < Int16.MinValue || r > Int16.MaxValue)
system\decimal.cs (1)
864if (temp < Int16.MinValue || temp > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16"));
system\int16.cs (2)
154if (i < MinValue || i > MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 185if (i < MinValue || i > MaxValue) {
system\math.cs (1)
272if (value == Int16.MinValue)
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
291if (scaled > short.MaxValue || scaled < short.MinValue)
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
2033typeId = Int16.MinValue;
System.Data (8)
fx\src\data\System\Data\Common\Int16Storage.cs (1)
112Int16 max = Int16.MinValue;
fx\src\data\System\Data\SQLTypes\SQLInt16.cs (7)
193if ((x.m_value == Int16.MinValue) && (y.m_value == -1)) 210if ((x.m_value == Int16.MinValue) && (y.m_value == -1)) 272if (value > (int)Int16.MaxValue || value < (int)Int16.MinValue) 287if (value > (long)Int16.MaxValue || value < (long)Int16.MinValue) 302if (value < (float)Int16.MinValue || value > (float)Int16.MaxValue) 317if (value < (double)Int16.MinValue || value > (double)Int16.MaxValue) 620public static readonly SqlInt16 MinValue = new SqlInt16(Int16.MinValue);
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
745ValidateIntegralDefaultValue(scalar, short.MinValue, short.MaxValue);
System\Data\Metadata\Helper.cs (1)
519{ PrimitiveTypeKind.Int16, new long[] { Int16.MinValue, Int16.MaxValue } },
System.Runtime.Serialization (2)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
578if (value < short.MinValue || value > short.MaxValue)
System\Xml\XmlDictionaryReader.cs (1)
1109if (i < Int16.MinValue || i > Int16.MaxValue)
System.Xml (2)
System\Xml\Schema\DataTypeImplementation.cs (1)
3076static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(short.MinValue, short.MaxValue);
System\Xml\Schema\XmlValueConverter.cs (1)
838if (value < (int) Int16.MinValue || value > (int) Int16.MaxValue)