Implemented interface member:

method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
68 references to ToString
Aspire.Azure.Security.KeyVault.Tests (1)
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (4)
Aspire.Playground.Tests (1)
dotnet-svcutil-lib (1)
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Core.Test (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Components (5)
Microsoft.AspNetCore.HeaderParsing.Tests (16)
Microsoft.AspNetCore.InternalTesting (4)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.StaticAssets.Tests (4)
StaticAssetsIntegrationTests.cs (4)
507new("Last-Modified", lastModified.ToString("ddd, dd MMM yyyy HH:mm:ss 'GMT'", CultureInfo.InvariantCulture)),
529new ("Last-Modified", lastModified.ToString("ddd, dd MMM yyyy HH:mm:ss 'GMT'", CultureInfo.InvariantCulture)),
585new("Last-Modified", new DateTimeOffset(2023,03,03,0,0,0,TimeSpan.Zero).ToString("ddd, dd MMM yyyy HH:mm:ss 'GMT'", CultureInfo.InvariantCulture))
927req2.Headers.TryAddWithoutValidation("If-Modified-Since", DateTimeOffset.UtcNow.ToString(format, CultureInfo.InvariantCulture));
Microsoft.AspNetCore.StaticFiles.Tests (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.TimeProvider.Testing (1)
Microsoft.Net.Http.Headers (1)
OpenIdConnectSample (1)
SocialSample (2)
System.ComponentModel.TypeConverter (2)
System.Formats.Cbor (1)
System.Private.Xml (1)
System.ServiceModel.Syndication (4)
System.Xaml (1)
System.Xaml.Tests (4)
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (4)
32yield return new object?[] { dateTimeOffset.ToString("O", CultureInfo.CurrentCulture), null, dateTimeOffset };
33yield return new object?[] { " " + dateTimeOffset.ToString("O", CultureInfo.CurrentCulture) + " ", null, dateTimeOffset };
34yield return new object?[] { dateTimeOffset.ToString("O", new CultureInfo("en-US")), new CultureInfo("en-US"), dateTimeOffset };
80Assert.Equal(dateTimeOffset.ToString("O", culture ?? CultureInfo.CurrentCulture), converter.ConvertTo(null, culture, dateTimeOffset, typeof(string)));