134 references to AddDays
Aspire.Dashboard.Tests (1)
BlazorServerApp (1)
HostedBlazorWebassemblyApp.Server (1)
Keycloak.ApiService (1)
KeyManagementSimulator (1)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
Microsoft.AspNetCore.DataProtection.Tests (2)
Microsoft.AspNetCore.Diagnostics.Tests (4)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
AntiforgeryMiddlewareTest.cs (5)
47new("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.CurrentCulture)),
88new("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.CurrentCulture)),
131new("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.CurrentCulture)),
163new("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.CurrentCulture)),
195new("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.CurrentCulture)),
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs (2)
243builder.MapGet("/api", () => new TodoWithDueDate(1, "Test Title", true, DateTime.Now, DateTime.Now.AddDays(1)));
297builder.MapGet("/api", () => new Result<Todo>(true, new TodoWithDueDate(1, "Test Title", true, DateTime.Now, DateTime.Now.AddDays(1)), null));
Microsoft.AspNetCore.Routing.FunctionalTests (20)
MinimalFormTests.cs (20)
60new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
70Assert.Equal(DateTime.Today.AddDays(1), result.DueDate);
120new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
130Assert.Equal(DateTime.Today.AddDays(1), result.DueDate);
165new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
204new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
281new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
291Assert.Equal(DateTime.Today.AddDays(1), result.DueDate);
328new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
338Assert.Equal(DateTime.Today.AddDays(1), result.DueDate);
424new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
481new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
498Assert.Equal(DateTime.Today.AddDays(1), result.DueDate);
542new KeyValuePair<string,string>("[dueDate]", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
543new KeyValuePair<string,string>("[dueDate1]", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
594new KeyValuePair<string,string>("[dueDate]", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
595new KeyValuePair<string,string>("[dueDate1]", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
646new KeyValuePair<string,string>("[dueDate]", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
647new KeyValuePair<string,string>("[dueDate1]", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
693new KeyValuePair<string,string>("dueDate", DateTime.Today.AddDays(1).ToString(CultureInfo.InvariantCulture)),
Microsoft.Data.Analysis.Tests (8)
Microsoft.DotNet.Helix.JobSender (3)
Microsoft.DotNet.Internal.SymbolHelper (2)
Microsoft.Extensions.Options.Contextual.Tests (1)
Microsoft.ML.Samples (5)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualBasic.Forms (2)
PresentationFramework (3)
PresentationUI (3)
Sample (3)
Endpoints\MapResponsesEndpoints.cs (2)
11responses.MapGet("/200-add-xml", () => new TodoWithDueDate(1, "Test todo", false, DateTime.Now.AddDays(1), DateTime.Now))
14responses.MapGet("/200-only-xml", () => new TodoWithDueDate(1, "Test todo", false, DateTime.Now.AddDays(1), DateTime.Now))
Stress.ApiService (1)
System.Private.CoreLib (6)
System.Security.Cryptography (1)
System.ServiceModel.Federation (1)
System.Windows.Forms (5)
System.Windows.Forms.Tests (39)
System.Windows.Forms.UI.IntegrationTests (2)
TestingAppHost1.MyWebApp (1)