32 references to MinValue
mscorlib (5)
system\math.cs (1)
302if (value == Int64.MinValue)
system\timespan.cs (4)
59internal const long MinSeconds = Int64.MinValue / TicksPerSecond; 62internal const long MinMilliSeconds = Int64.MinValue / TicksPerMillisecond; 69public static readonly TimeSpan MinValue = new TimeSpan(Int64.MinValue); 234if ((millis > Int64.MaxValue / TicksPerMillisecond) || (millis < Int64.MinValue / TicksPerMillisecond))
System (2)
net\System\Net\_ListenerResponseStream.cs (2)
18private long m_LeftToWrite = long.MinValue; 35if (m_LeftToWrite==long.MinValue) {
System.Configuration (2)
System\Configuration\LongValidator.cs (1)
29private long _minValue = long.MinValue;
System\Configuration\LongValidatorAttribute.cs (1)
25private long _min = long.MinValue;
System.Core (1)
Microsoft\Scripting\Compiler\ILGen.cs (1)
959} else if (Int64.MinValue <= value && value <= Int64.MaxValue) {
System.Data (8)
fx\src\data\System\Data\Common\Int64Storage.cs (1)
111Int64 max = Int64.MinValue;
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
573if (value != Int64.MinValue)
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (5)
240if ((x.m_value == Int64.MinValue) && (y.m_value == -1)) 257if ((x.m_value == Int64.MinValue) && (y.m_value == -1)) 335if (value > (float)Int64.MaxValue || value < (float)Int64.MinValue) 350if (value > (double)Int64.MaxValue || value < (double)Int64.MinValue) 686public static readonly SqlInt64 MinValue = new SqlInt64(Int64.MinValue);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
116!fPositive && ulValue > unchecked((ulong)(Int64.MinValue)))
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
753ValidateIntegralDefaultValue(scalar, long.MinValue, long.MaxValue);
System\Data\Metadata\Helper.cs (1)
521{ PrimitiveTypeKind.Int64, new long[] { Int64.MinValue, Int64.MaxValue } },
System.Runtime.Serialization (3)
System\Xml\XmlBinaryWriter.cs (1)
774if (f >= long.MinValue && f <= long.MaxValue && (l = (long)f) == f)
System\Xml\XmlConverter.cs (2)
561if (value < long.MinValue / 10) 564if (value < long.MinValue + digit)
System.ServiceModel (2)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (2)
31Int64 lastReplySequenceNumber = Int64.MinValue; 677if (!this.lastReplyAcked && (this.lastReplySequenceNumber != Int64.MinValue))
System.ServiceModel.Internals (4)
System\Runtime\Ticks.cs (4)
49if (firstTicks == long.MaxValue || firstTicks == long.MinValue) 53if (secondTicks == long.MaxValue || secondTicks == long.MinValue) 61if (firstTicks <= 0 && long.MinValue - firstTicks >= secondTicks) 63return long.MinValue + 1;
System.Xml (3)
System\Xml\Schema\DataTypeImplementation.cs (1)
2963static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(long.MinValue, long.MaxValue);
System\Xml\Schema\XmlValueConverter.cs (1)
817if (value < (decimal) Int64.MinValue || value > (decimal) Int64.MaxValue)
System\Xml\Schema\XsdDuration.cs (1)
333result = new TimeSpan(Int64.MinValue);