51 references to MinValue
BinaryFormatTests (2)
FormatTests\FormattedObject\HashTableTests.cs (1)
213{ TimeSpan.MinValue, TimeSpan.MaxValue }
FormatTests\FormattedObject\PrimitiveTypeTests.cs (1)
84{ (byte)PrimitiveType.TimeSpan, TimeSpan.MinValue },
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDuration.cs (1)
385result = TimeSpan.MinValue;
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (1)
1307result = TimeSpan.MinValue;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (1)
129TimeSpan.MinValue, // this is a dummy since operation type is null, so the timespan value won't be used
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerLimitsTests.cs (1)
365TimeSpan.MinValue,
MinDataRateTests.cs (1)
57TimeSpan.MinValue,
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
HttpsConnectionAdapterOptionsTest.cs (1)
51TimeSpan.MinValue,
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
94AdditionalValues: [TimeSpan.MinValue, TimeSpan.MaxValue],
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (8)
HealthReportTest.cs (8)
22{"Foo", new HealthReportEntry(HealthStatus.Healthy, null,TimeSpan.MinValue, null, null) }, 23{"Bar", new HealthReportEntry(HealthStatus.Healthy, null, TimeSpan.MinValue,null, null) }, 24{"Baz", new HealthReportEntry(status, exception: null, description: null,duration:TimeSpan.MinValue, data: null) }, 25{"Quick", new HealthReportEntry(HealthStatus.Healthy, null, TimeSpan.MinValue, null, null) }, 26{"Quack", new HealthReportEntry(HealthStatus.Healthy, null, TimeSpan.MinValue, null, null) }, 27{"Quock", new HealthReportEntry(HealthStatus.Healthy, null, TimeSpan.MinValue, null, null) }, 28}, totalDuration: TimeSpan.MinValue); 41{"Foo", new HealthReportEntry(HealthStatus.Healthy, null,TimeSpan.MinValue, null, null) }
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
SnapshotTests.cs (2)
30=> new Snapshot(new FakeTimeProvider(), TimeSpan.MinValue, TimeSpan.FromSeconds(1), 1000)); 37=> new Snapshot(new FakeTimeProvider(), TimeSpan.Zero, TimeSpan.MinValue, 1000));
PresentationCore.Tests (1)
System\Windows\Media\Animation\RepeatBehavior.Tests.cs (1)
62yield return new object[] { TimeSpan.MinValue };
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
127TimeSpanValue = TimeSpan.MinValue, 169TimeSpanValue = TimeSpan.MinValue,
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
94AdditionalValues: [TimeSpan.MinValue, TimeSpan.MaxValue],
System.Configuration.ConfigurationManager (1)
System\Configuration\TimeSpanValidatorAttribute.cs (1)
17public TimeSpan MinValue { get; private set; } = TimeSpan.MinValue;
System.Data.Common (1)
System\Data\Common\TimeSpanStorage.cs (1)
45TimeSpan max = TimeSpan.MinValue;
System.Net.Requests (4)
System\Net\Cache\HttpRequestCachePolicy.cs (4)
12private readonly TimeSpan _minFresh = TimeSpan.MinValue; 13private readonly TimeSpan _maxStale = TimeSpan.MinValue; 97(_minFresh == TimeSpan.MinValue ? string.Empty : " MinFresh:" + _minFresh.ToString()) + 98(_maxStale == TimeSpan.MinValue ? string.Empty : " MaxStale:" + _maxStale.ToString()) +
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (14)
274/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 296/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 459/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 475/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 496/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 511/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 531/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 545/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 564/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 577/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 595/// The parameter specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 608/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 636/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 672/// <paramref name="value"/> is less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/>.
System.Private.Windows.Core.Tests (3)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (3)
81new List<TimeSpan> { TimeSpan.MinValue, TimeSpan.MaxValue }, 101new TimeSpan[] { TimeSpan.MinValue, TimeSpan.MaxValue }, 123(ArrayList)([TimeSpan.MinValue, TimeSpan.MaxValue]),
System.Private.Xml (2)
System\Xml\Schema\XsdDuration.cs (1)
325result = TimeSpan.MinValue;
System\Xml\XmlConvert.cs (1)
1137result = TimeSpan.MinValue;
System.Windows.Forms.Tests (1)
System\Resources\ResxDataNodeTests.cs (1)
136{ TimeSpan.MinValue, TimeSpan.MaxValue }
UnitTests.Common (1)
TestData.cs (1)
37{ TimeSpan.MinValue},
WindowsBase.Tests (1)
System\Windows\Threading\DispatcherTimerTests.cs (1)
116yield return new object[] { TimeSpan.MinValue };