2 writes to _currentId
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (2)
458
_currentId
++;
503
_currentId
++;
10 references to _currentId
System.Threading.Channels (10)
System\Threading\Channels\AsyncOperation.cs (10)
290
/// <param name="token">The current token that must match <see cref="
_currentId
"/>.</param>
294
if (
_currentId
!= token)
425
public ValueTask ValueTask => new ValueTask(this,
_currentId
);
428
/// <param name="token">The token that must match <see cref="AsyncOperation.
_currentId
"/>.</param>
431
if (
_currentId
!= token)
444
/// <param name="token">The token that must match <see cref="AsyncOperation.
_currentId
"/>.</param>
447
if (
_currentId
!= token)
485
public ValueTask<TResult> ValueTaskOfT => new ValueTask<TResult>(this,
_currentId
);
488
/// <param name="token">The token that must match <see cref="AsyncOperation.
_currentId
"/>.</param>
491
if (
_currentId
!= token)