You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <param name="value">The value to be returned to the consumer.</param>
43
44
/// <returns><see langword="true"/> if the result is completed successfully; <see langword="false"/> if the task has been canceled or timed out.</returns>
@@ -46,7 +47,7 @@ public bool TrySetResult(T value)
46
47
=>TrySetResult(null,value);
47
48
48
49
/// <summary>
49
-
/// Attempts to complete the task sucessfully.
50
+
/// Attempts to complete the task successfully.
50
51
/// </summary>
51
52
/// <param name="completionData">The data to be saved in <see cref="ManualResetCompletionSource.CompletionData"/> property that can be accessed from within <see cref="ManualResetCompletionSource.AfterConsumed"/> method.</param>
52
53
/// <param name="value">The value to be returned to the consumer.</param>
@@ -55,7 +56,7 @@ public unsafe bool TrySetResult(object? completionData, T value)
/// <param name="value">The value to be returned to the consumer.</param>
@@ -65,7 +66,7 @@ public bool TrySetResult(short completionToken, T value)
65
66
=>TrySetResult(null,completionToken,value);
66
67
67
68
/// <summary>
68
-
/// Attempts to complete the task sucessfully.
69
+
/// Attempts to complete the task successfully.
69
70
/// </summary>
70
71
/// <param name="completionData">The data to be saved in <see cref="ManualResetCompletionSource.CompletionData"/> property that can be accessed from within <see cref="ManualResetCompletionSource.AfterConsumed"/> method.</param>
/// <returns><see langword="true"/> if the result is completed successfully; <see langword="false"/> if the task has been canceled or timed out.</returns>
/// <param name="completionData">The data to be saved in <see cref="ManualResetCompletionSource.CompletionData"/> property that can be accessed from within <see cref="ManualResetCompletionSource.AfterConsumed"/> method.</param>
150
150
/// <returns><see langword="true"/> if the result is completed successfully; <see langword="false"/> if the task has been canceled or timed out.</returns>
/// <returns><see langword="true"/> if the result is completed successfully; <see langword="false"/> if the task has been canceled or timed out.</returns>
159
159
publicboolTrySetResult(shortcompletionToken)
160
160
=>TrySetResult(null,completionToken);
161
161
162
162
/// <summary>
163
-
/// Attempts to complete the task sucessfully.
163
+
/// Attempts to complete the task successfully.
164
164
/// </summary>
165
165
/// <param name="completionData">The data to be saved in <see cref="ManualResetCompletionSource.CompletionData"/> property that can be accessed from within <see cref="ManualResetCompletionSource.AfterConsumed"/> method.</param>
@@ -176,7 +176,7 @@ public bool TrySetResult(object? completionData, short completionToken)
176
176
/// </remarks>
177
177
/// <param name="timeout">The timeout associated with the task.</param>
178
178
/// <param name="token">The cancellation token that can be used to cancel the task.</param>
179
-
/// <returns>A fresh incompleted task.</returns>
179
+
/// <returns>A fresh uncompleted task.</returns>
180
180
/// <exception cref="ArgumentOutOfRangeException"><paramref name="timeout"/> is less than zero but not equals to <see cref="System.Threading.Timeout.InfiniteTimeSpan"/>.</exception>
181
181
/// <exception cref="InvalidOperationException">The source is in invalid state.</exception>
0 commit comments