1 write to _tcs
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\LifetimeManager.cs (1)
291_tcs = new TaskCompletionSource<bool>();
6 references to _tcs
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\LifetimeManager.cs (6)
306_tcs?.TrySetResult(false); 319_tcs.TrySetResult(true); 339bool expired = !await _tcs.Task.AwaitWithTimeout(timeout); 353_tcs.TrySetResult(!expired); // unblock other waiters if there are any 376bool expired = !_tcs.Task.WaitForCompletionNoSpin(timeout); 390_tcs.TrySetResult(false); // unblock other waiters if there are any