1 write to _tcs
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
785
_tcs
= new TaskCompletionSource<object>(TaskCreationOptions.RunContinuationsAsynchronously);
10 references to _tcs
System.ServiceModel.Primitives (10)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (10)
718
Fx.Assert(
_tcs
?.Task == null || !
_tcs
.Task.IsCompleted, "Task should be null or not already be completed");
719
_tcs
?.SetResult(null);
732
Fx.Assert(
_tcs
?.Task == null || !
_tcs
.Task.IsCompleted, "Task should be null or not already be completed");
733
_tcs
?.SetResult(null);
757
Fx.Assert(
_tcs
?.Task == null || !
_tcs
.Task.IsCompleted, "Task should be null or not already be completed");
758
_tcs
?.SetResult(null);
791
expired = !await TaskHelpers.AwaitWithTimeout(
_tcs
.Task, timeoutHelper.RemainingTime());