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);
339
bool expired = !await
_tcs
.Task.AwaitWithTimeout(timeout);
353
_tcs
.TrySetResult(!expired); // unblock other waiters if there are any
376
bool expired = !
_tcs
.Task.WaitForCompletionNoSpin(timeout);
390
_tcs
.TrySetResult(false); // unblock other waiters if there are any