36 references to MinValue
mscorlib (4)
system\globalization\datetimeformat.cs (1)
131
internal static readonly TimeSpan NullOffset = TimeSpan.
MinValue
;
system\timespan.cs (3)
198
if (Ticks==TimeSpan.
MinValue
.Ticks)
248
if (Ticks==TimeSpan.
MinValue
.Ticks)
341
if (t._ticks==TimeSpan.
MinValue
._ticks)
System (23)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (10)
270
if (ctx.Policy.Level == HttpRequestCacheLevel.Default && ctx.ResponseAge != TimeSpan.
MinValue
) {
372
ctx.CacheEntry.MaxStale = TimeSpan.
MinValue
;
521
if (ctx.CacheAge != TimeSpan.
MinValue
) {
525
if (ctx.CacheAge != TimeSpan.
MinValue
)
535
if (ctx.CacheAge != TimeSpan.
MinValue
) {
556
if (ctx.CacheAge != TimeSpan.
MinValue
) {
603
if (expiresDate != DateTime.MinValue && date != DateTime.MinValue && ctx.CacheAge != TimeSpan.
MinValue
) {
883
if(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))));
1202
if (ctx.ResponseAge != TimeSpan.
MinValue
) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
80
Age = TimeSpan.
MinValue
;
81
MaxAge = TimeSpan.
MinValue
;
827
TimeSpan span = TimeSpan.
MinValue
;
net\System\Net\Cache\IERequestCache.cs (1)
542
if (maxStale != TimeSpan.
MinValue
) {
net\System\Net\Cache\RequestCacheEntry.cs (1)
94
sb.Append("\r\nMaxStale(sec) = ").Append(MaxStale == TimeSpan.
MinValue
? "": ((int)MaxStale.TotalSeconds).ToString(NumberFormatInfo.CurrentInfo));
net\System\Net\Cache\RequestCachePolicy.cs (4)
151
private TimeSpan m_MinFresh = TimeSpan.
MinValue
;
152
private 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)
91
new ConfigurationProperty(ConfigurationStrings.MaximumStale, typeof(TimeSpan), TimeSpan.
MinValue
,
95
new ConfigurationProperty(ConfigurationStrings.MinimumFresh, typeof(TimeSpan), TimeSpan.
MinValue
,
net\System\Net\Configuration\RequestCachingSection.cs (2)
190
(httpPolicy.MinimumFresh != TimeSpan.
MinValue
? HttpCacheAgeControl.MaxAgeAndMinFresh : HttpCacheAgeControl.MaxAgeAndMaxStale);
192
this.defaultHttpCachePolicy = new HttpRequestCachePolicy(cacheAgeControl, httpPolicy.MaximumAge, (httpPolicy.MinimumFresh != TimeSpan.
MinValue
? httpPolicy.MinimumFresh : httpPolicy.MaximumStale));
System.Configuration (2)
System\Configuration\TimeSpanValidator.cs (1)
30
private TimeSpan _minValue = TimeSpan.
MinValue
;
System\Configuration\TimeSpanValidatorAttribute.cs (1)
26
private TimeSpan _min = TimeSpan.
MinValue
;
System.Data (1)
fx\src\data\System\Data\Common\TimeSpanStorage.cs (1)
45
TimeSpan max = TimeSpan.
MinValue
;
System.Management (1)
ManagementDatetime.cs (1)
341
TimeSpan timespan = TimeSpan.
MinValue
;
System.ServiceModel (3)
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
21
public readonly static TimeSpan UseDefaultReceiveTimeout = TimeSpan.
MinValue
;
System\ServiceModel\Channels\SocketConnection.cs (1)
797
TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpTransferError, GetEndpointString(SR.TcpTransferError, TimeSpan.
MinValue
, socketException, socketConnection), communicationException, null);
System\ServiceModel\Channels\WebSocketHelper.cs (1)
240
TimeSpan.
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)
346
result = TimeSpan.
MinValue
;
System\Xml\XmlConvert.cs (1)
1180
result = TimeSpan.
MinValue
;