2 writes to _tcs
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
48
_tcs
= new TaskCompletionSource<object>(TaskCreationOptions.RunContinuationsAsynchronously);
63
_tcs
= null;
6 references to _tcs
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (6)
51
if (
_tcs
!= null)
55
if (!await
_tcs
.Task.AwaitWithTimeout(timeout))
62
_tcs
.TrySetResult(null);
97
if (
_tcs
!= null)
99
Fx.AssertAndThrow(!
_tcs
.Task.IsCompleted, "TCS should not have already been completed");
100
_tcs
.TrySetResult(null);