2 writes to _currentId
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (2)
479_currentId++; 535_currentId++;
10 references to _currentId
System.Threading.Channels (10)
System\Threading\Channels\AsyncOperation.cs (10)
302/// <param name="token">The current token that must match <see cref="_currentId"/>.</param> 306if (_currentId != token) 446public ValueTask ValueTask => new ValueTask(this, _currentId); 449/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 452if (_currentId != token) 465/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 468if (_currentId != token) 517public ValueTask<TResult> ValueTaskOfT => new ValueTask<TResult>(this, _currentId); 520/// <param name="token">The token that must match <see cref="AsyncOperation._currentId"/>.</param> 523if (_currentId != token)