Skip to content

Commit

Permalink
Fix comment on CancellationTokenRegistration.Token (#35708)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed May 1, 2020
1 parent 9351765 commit 1d70b31
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ public ValueTask DisposeAsync()
default;
}

/// <summary>
/// Gets the <see cref="CancellationToken"/> with which this registration is associated. If the
/// registration isn't associated with a token (such as after the registration has been disposed),
/// <summary>Gets the <see cref="CancellationToken"/> with which this registration is associated.</summary>
/// <remarks>
/// If the registration isn't associated with a token (such as for a registration returned from a call
/// to <see cref="CancellationToken.Register"/> on a token that already had cancellation requested),
/// this will return a default token.
/// </summary>
/// </remarks>
public CancellationToken Token
{
get
Expand Down

0 comments on commit 1d70b31

Please sign in to comment.