2 writes to _currentId
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (2)
480_currentId++; 536_currentId++;
10 references to _currentId
System.Threading.Channels (10)
System\Threading\Channels\AsyncOperation.cs (10)
303/// <param name="token">The current token that must match <see cref="_currentId"/>.</param> 307if (_currentId != token) 447public ValueTask ValueTask => new ValueTask(this, _currentId); 450/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 453if (_currentId != token) 466/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 469if (_currentId != token) 518public ValueTask<TResult> ValueTaskOfT => new ValueTask<TResult>(this, _currentId); 521/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 524if (_currentId != token)