6 references to TryFormat
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (2)
812
return DateTimeFormat.
TryFormat
(GetEquivalentDateTime(), destination, out charsWritten, format, provider);
825
return DateTimeFormat.
TryFormat
(GetEquivalentDateTime(), destination, out charsWritten, format, provider);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (2)
1774
DateTimeFormat.
TryFormat
(this, destination, out charsWritten, format, provider);
1778
DateTimeFormat.
TryFormat
(this, utf8Destination, out bytesWritten, format, provider);
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (2)
982
return DateTimeFormat.
TryFormat
(ToDateTime(), destination, out written, format, provider);
995
return DateTimeFormat.
TryFormat
(ToDateTime(), destination, out written, format, provider);