36 references to MinValue
mscorlib (4)
system\globalization\datetimeformat.cs (1)
131internal static readonly TimeSpan NullOffset = TimeSpan.MinValue;
system\timespan.cs (3)
198if (Ticks==TimeSpan.MinValue.Ticks) 248if (Ticks==TimeSpan.MinValue.Ticks) 341if (t._ticks==TimeSpan.MinValue._ticks)
System (23)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (10)
270if (ctx.Policy.Level == HttpRequestCacheLevel.Default && ctx.ResponseAge != TimeSpan.MinValue) { 372ctx.CacheEntry.MaxStale = TimeSpan.MinValue; 521if (ctx.CacheAge != TimeSpan.MinValue) { 525if (ctx.CacheAge != TimeSpan.MinValue) 535if (ctx.CacheAge != TimeSpan.MinValue) { 556if (ctx.CacheAge != TimeSpan.MinValue) { 603if (expiresDate != DateTime.MinValue && date != DateTime.MinValue && ctx.CacheAge != TimeSpan.MinValue) { 883if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age, (ctx.CacheAge != TimeSpan.MinValue ? ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo) : SR.GetString(SR.net_log_unknown)), (ctx.CacheMaxAge != TimeSpan.MinValue? ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo): SR.GetString(SR.net_log_unknown)))); 1202if (ctx.ResponseAge != TimeSpan.MinValue) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
80Age = TimeSpan.MinValue; 81MaxAge = TimeSpan.MinValue; 827TimeSpan span = TimeSpan.MinValue;
net\System\Net\Cache\IERequestCache.cs (1)
542if (maxStale != TimeSpan.MinValue) {
net\System\Net\Cache\RequestCacheEntry.cs (1)
94sb.Append("\r\nMaxStale(sec) = ").Append(MaxStale == TimeSpan.MinValue? "": ((int)MaxStale.TotalSeconds).ToString(NumberFormatInfo.CurrentInfo));
net\System\Net\Cache\RequestCachePolicy.cs (4)
151private TimeSpan m_MinFresh = TimeSpan.MinValue; 152private TimeSpan m_MaxStale = TimeSpan.MinValue; 276(m_MinFresh == TimeSpan.MinValue? string.Empty: " MinFresh:" + m_MinFresh.ToString()) + 277(m_MaxStale == TimeSpan.MinValue? string.Empty: " MaxStale:" + m_MaxStale.ToString()) +
net\System\Net\Configuration\HttpCachePolicyElement.cs (2)
91new ConfigurationProperty(ConfigurationStrings.MaximumStale, typeof(TimeSpan), TimeSpan.MinValue, 95new ConfigurationProperty(ConfigurationStrings.MinimumFresh, typeof(TimeSpan), TimeSpan.MinValue,
net\System\Net\Configuration\RequestCachingSection.cs (2)
190(httpPolicy.MinimumFresh != TimeSpan.MinValue ? HttpCacheAgeControl.MaxAgeAndMinFresh : HttpCacheAgeControl.MaxAgeAndMaxStale); 192this.defaultHttpCachePolicy = new HttpRequestCachePolicy(cacheAgeControl, httpPolicy.MaximumAge, (httpPolicy.MinimumFresh != TimeSpan.MinValue ? httpPolicy.MinimumFresh : httpPolicy.MaximumStale));
System.Configuration (2)
System\Configuration\TimeSpanValidator.cs (1)
30private TimeSpan _minValue = TimeSpan.MinValue;
System\Configuration\TimeSpanValidatorAttribute.cs (1)
26private TimeSpan _min = TimeSpan.MinValue;
System.Data (1)
fx\src\data\System\Data\Common\TimeSpanStorage.cs (1)
45TimeSpan max = TimeSpan.MinValue;
System.Management (1)
ManagementDatetime.cs (1)
341 TimeSpan timespan = TimeSpan.MinValue;
System.ServiceModel (3)
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
21public readonly static TimeSpan UseDefaultReceiveTimeout = TimeSpan.MinValue;
System\ServiceModel\Channels\SocketConnection.cs (1)
797TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpTransferError, GetEndpointString(SR.TcpTransferError, TimeSpan.MinValue, socketException, socketConnection), communicationException, null);
System\ServiceModel\Channels\WebSocketHelper.cs (1)
240TimeSpan.MinValue, // this is a dummy since operation type is null, so the timespan value won't be used
System.Xml (2)
System\Xml\Schema\XsdDuration.cs (1)
346result = TimeSpan.MinValue;
System\Xml\XmlConvert.cs (1)
1180result = TimeSpan.MinValue;