2 writes to _currentId
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (2)
469
_currentId
++;
514
_currentId
++;
10 references to _currentId
System.Threading.Channels (10)
System\Threading\Channels\AsyncOperation.cs (10)
301
/// <param name="token">The current token that must match <see cref="
_currentId
"/>.</param>
305
if (
_currentId
!= token)
436
public ValueTask ValueTask => new ValueTask(this,
_currentId
);
439
/// <param name="token">The token that must match <see cref="AsyncOperation.
_currentId
"/>.</param>
442
if (
_currentId
!= token)
455
/// <param name="token">The token that must match <see cref="AsyncOperation.
_currentId
"/>.</param>
458
if (
_currentId
!= token)
496
public ValueTask<TResult> ValueTaskOfT => new ValueTask<TResult>(this,
_currentId
);
499
/// <param name="token">The token that must match <see cref="AsyncOperation.
_currentId
"/>.</param>
502
if (
_currentId
!= token)