10 references to ToString
Microsoft.AspNetCore.Components (6)
BindConverter.cs (4)
521return value.ToString(culture ?? CultureInfo.CurrentCulture); 526return value.ToString(culture ?? CultureInfo.CurrentCulture); 565return value.Value.ToString(culture ?? CultureInfo.CurrentCulture); 575return value.Value.ToString(culture ?? CultureInfo.CurrentCulture);
NavigationManagerExtensions.cs (2)
57=> value.ToString(CultureInfo.InvariantCulture); 60=> value?.ToString(CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
FormMapping\Converters\NullableConverterTests.cs (2)
36var returnValue = nullableConverter.TryConvertValue(ref reader, date.ToString(culture), out var result); 111{ new FormKey(prefixName.AsMemory()), (StringValues)date.ToString(culture) }
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
190var expected = value.ToString(CultureInfo.CurrentCulture);
Microsoft.Gen.Logging.Generated.Tests (1)
LogPropertiesTests.cs (1)
147Assert.Equal(props.P20.ToString(CultureInfo.InvariantCulture), state!.GetValue("p.P20"));