44 references to MinValue
Aspire.Dashboard.Tests (1)
DashboardUIHelpersTests.cs (1)
95var duration = TimeSpan.MinValue;
Aspire.TestTools (2)
TrxReader.cs (2)
41StartTime: startTime is null ? TimeSpan.MinValue : TimeSpan.Parse(startTime, CultureInfo.InvariantCulture), 42EndTime: endTime is null ? TimeSpan.MinValue : TimeSpan.Parse(endTime, CultureInfo.InvariantCulture),
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.Extensions.AI.Abstractions.Tests (1)
parent\parent\Shared\JsonSchemaExporter\TestTypes.cs (1)
91AdditionalValues: [TimeSpan.MinValue, TimeSpan.MaxValue],
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));
Microsoft.TestPlatform.CrossPlatEngine (2)
Discovery\DiscoveryResultCache.cs (1)
56TPDebug.Assert(discoveredTestEventTimeout > TimeSpan.MinValue, "The cache timeout must be greater than min value.");
Execution\TestRunCache.cs (1)
84TPDebug.Assert(cacheTimeout > TimeSpan.MinValue, "The cache timeout must be greater than min value.");
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
493TestRunCompleteArgs = new TestRunCompleteEventArgs(null, false, true, ex, null, null, TimeSpan.MinValue),
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
Client\DiscoveryCriteria.cs (1)
110if (discoveredTestEventTimeout <= TimeSpan.MinValue)
Client\TestRunCriteria.cs (1)
793if (runStatsChangeEventTimeout <= TimeSpan.MinValue)
NuGet.Common (1)
Telemetry\TelemetryServiceUtility.cs (1)
44return TimeSpan.MinValue;
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
127TimeSpanValue = TimeSpan.MinValue, 169TimeSpanValue = TimeSpan.MinValue,
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
91AdditionalValues: [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.Management (1)
System\Management\ManagementDateTime.cs (1)
318TimeSpan timespan = 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\runtime\src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (14)
268/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 290/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 453/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 469/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 490/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 505/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 525/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 539/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 558/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 571/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 589/// The parameter specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 602/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 630/// The parameters specify a <see cref="TimeSpan"/> value less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/> 666/// <paramref name="value"/> is less than <see cref="MinValue"/> or greater than <see cref="MaxValue"/>.
System.Private.Xml (2)
System\Xml\Schema\XsdDuration.cs (1)
325result = TimeSpan.MinValue;
System\Xml\XmlConvert.cs (1)
1137result = TimeSpan.MinValue;
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketHelper.cs (1)
128TimeSpan.MinValue, // this is a dummy since operation type is null, so the timespan value won't be used
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
10public readonly static TimeSpan UseDefaultReceiveTimeout = TimeSpan.MinValue;
UnitTests.Common (1)
TestData.cs (1)
37{ TimeSpan.MinValue},