Skip to content

Commit

Permalink
Add missing doc tags to TimeOnly type. (#73801)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekgh authored Aug 12, 2022
1 parent 48ce77b commit 4710133
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libraries/System.Private.CoreLib/src/System/TimeOnly.cs
Original file line number Diff line number Diff line change
Expand Up @@ -933,8 +933,10 @@ public string ToString([StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] stri
// IParsable
//

/// <inheritdoc cref="IParsable{TSelf}.Parse(string, IFormatProvider?)" />
public static TimeOnly Parse(string s, IFormatProvider? provider) => Parse(s, provider, DateTimeStyles.None);

/// <inheritdoc cref="IParsable{TSelf}.TryParse(string?, IFormatProvider?, out TSelf)" />
public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out TimeOnly result) => TryParse(s, provider, DateTimeStyles.None, out result);

//
Expand Down

0 comments on commit 4710133

Please sign in to comment.