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)
718Fx.Assert(_tcs?.Task == null || !_tcs.Task.IsCompleted, "Task should be null or not already be completed"); 719_tcs?.SetResult(null); 732Fx.Assert(_tcs?.Task == null || !_tcs.Task.IsCompleted, "Task should be null or not already be completed"); 733_tcs?.SetResult(null); 757Fx.Assert(_tcs?.Task == null || !_tcs.Task.IsCompleted, "Task should be null or not already be completed"); 758_tcs?.SetResult(null); 791expired = !await TaskHelpers.AwaitWithTimeout(_tcs.Task, timeoutHelper.RemainingTime());