300 references to MinValue
Aspire.Dashboard.Tests (6)
BinaryFormatTests (2)
dotnet-svcutil-lib (13)
Extensibility.MessageInterceptor.IntegrationTests (2)
Microsoft.Analyzers.Local (1)
Microsoft.Analyzers.Local.Tests (2)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
Microsoft.AspNetCore.Authentication.Test (7)
OpenIdConnect\OpenIdConnectTests.cs (7)
405Assert.Equal(DateTime.MinValue + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + DateTime.MinValue.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
409Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(noncePrefix, TimeSpan.FromHours(1)));
411Assert.Equal(DateTime.MinValue, GetNonceExpirationTime("", TimeSpan.FromHours(1)));
413Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(noncePrefix + noncePrefix, TimeSpan.FromHours(1)));
417Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
568DateTime nonceTime = DateTime.MinValue;
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.Components (2)
Microsoft.Build (29)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (6)
Microsoft.Build.Framework (7)
Microsoft.Build.Tasks.Core (9)
Microsoft.Build.Tasks.UnitTests (3)
Microsoft.Build.Utilities.Core (2)
Microsoft.Build.Utilities.UnitTests (3)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.Data.Analysis (1)
Microsoft.DotNet.SignCheckLibrary (4)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Microsoft.Extensions.FileProviders.Physical (2)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.AutoML.Interactive (1)
Microsoft.ML.Tests (1)
Microsoft.VisualBasic.Tests (1)
Microsoft.VisualStudio.LanguageServices (1)
MSBuild (1)
MSBuildTaskHost (6)
PresentationCore (4)
PresentationFramework (10)
PresentationUI (7)
ScenarioTests.Common.Tests (1)
Shared.Tests (1)
System.ComponentModel.TypeConverter (2)
System.Configuration.ConfigurationManager (3)
System.Data.Common (2)
System.Diagnostics.TraceSource (2)
System.Linq.Expressions (1)
System.Net.Mail (1)
System.Net.Primitives (5)
System.Net.Requests (6)
System.Private.CoreLib (32)
System.Private.DataContractSerialization (2)
System.Private.Windows.Core.Tests (3)
System.Private.Xml (5)
System.Runtime.Caching (3)
System.Security.Cryptography (7)
System.ServiceModel.Federation (2)
System.Windows.Forms (7)
System.Windows.Forms.Design (1)
System.Windows.Forms.Primitives.Tests (1)
System.Windows.Forms.Tests (44)
System.Xaml (1)
System.Xaml.Tests (4)
WindowsBase.Tests (17)
System\Security\RightsManagement\ContentGrantTests.cs (17)
32Assert.Equal(DateTime.MinValue, grant.ValidFrom);
37yield return new object[] { ContentUser.AnyoneUser, ContentRight.View, DateTime.MinValue, DateTime.MaxValue };
38yield return new object[] { ContentUser.OwnerUser, ContentRight.Edit, DateTime.MinValue, DateTime.MaxValue };
39yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Print, DateTime.MinValue, DateTime.MaxValue };
40yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Extract, DateTime.MinValue, DateTime.MaxValue };
41yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.ObjectModel, DateTime.MinValue, DateTime.MaxValue };
42yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Owner, DateTime.MinValue, DateTime.MaxValue };
43yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.ViewRightsData, DateTime.MinValue, DateTime.MaxValue };
44yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Forward, DateTime.MinValue, DateTime.MaxValue };
45yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Reply, DateTime.MinValue, DateTime.MaxValue };
46yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.ReplyAll, DateTime.MinValue, DateTime.MaxValue };
47yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Sign, DateTime.MinValue, DateTime.MaxValue };
48yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.DocumentEdit, DateTime.MinValue, DateTime.MaxValue };
49yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Export, DateTime.MinValue, DateTime.MaxValue };
50yield return new object[] { new ContentUser("name", AuthenticationType.Windows), ContentRight.Export, DateTime.MinValue, DateTime.MinValue };
70Assert.Throws<ArgumentNullException>("user", () => new ContentGrant(null, ContentRight.View, DateTime.MinValue, DateTime.MaxValue));