Skip to content
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

Fix Task.Delay() <exception> XML comments #53392

Merged
merged 3 commits into from
May 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5480,7 +5480,8 @@ public static Task<TResult> Run<TResult>(Func<Task<TResult>?> function, Cancella
/// The <paramref name="delay"/> is less than -1 or greater than the maximum allowed timer duration.
/// </exception>
/// <exception cref="System.ObjectDisposedException">
/// The provided <paramref name="cancellationToken"/> has already been disposed.
/// The <see cref="CancellationTokenSource"/> associated
/// with <paramref name="cancellationToken"/> has already been disposed.
/// </exception>
/// <remarks>
/// If the cancellation token is signaled before the specified time delay, then the Task is completed in
Expand Down Expand Up @@ -5513,7 +5514,8 @@ public static Task Delay(TimeSpan delay, CancellationToken cancellationToken) =>
/// The <paramref name="millisecondsDelay"/> is less than -1.
/// </exception>
/// <exception cref="System.ObjectDisposedException">
/// The provided <paramref name="cancellationToken"/> has already been disposed.
/// The <see cref="CancellationTokenSource"/> associated
/// with <paramref name="cancellationToken"/> has already been disposed.
/// </exception>
/// <remarks>
/// If the cancellation token is signaled before the specified time delay, then the Task is completed in
Expand Down