-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add missing exception documentation for DateTime.TryParseExact #11513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…teTime.TryParseExact
@dotnet-policy-service agree |
@tarekgh tagging you as requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks @casuffitsharp
@gewarren do you want to have a quick look at this one before I merge it? Also, do you know why the preview page is not generated to look at the visuals of the change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gewarren should the preview be accessible for us too? Just to confirm, because I can't access (requires login) |
Summary
This PR adds missing exception documentation to DateTime.TryParseExact to reflect its actual behavior.
The new FormatException text is based on the description from DateTime.ToString(format) for consistency with the existing API documentation.
Fixes #10886