2 writes to _currentId
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (2)
463_currentId++; 508_currentId++;
10 references to _currentId
System.Threading.Channels (10)
System\Threading\Channels\AsyncOperation.cs (10)
295/// <param name="token">The current token that must match <see cref="_currentId"/>.</param> 299if (_currentId != token) 430public ValueTask ValueTask => new ValueTask(this, _currentId); 433/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 436if (_currentId != token) 449/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 452if (_currentId != token) 490public ValueTask<TResult> ValueTaskOfT => new ValueTask<TResult>(this, _currentId); 493/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 496if (_currentId != token)