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