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