5 references to _callbackCompleted
ClientSample (5)
Tcp\SocketAwaitable.cs (5)
32
public bool IsCompleted => ReferenceEquals(_callback,
_callbackCompleted
);
36
Debug.Assert(ReferenceEquals(_callback,
_callbackCompleted
));
50
if (ReferenceEquals(_callback,
_callbackCompleted
) ||
51
ReferenceEquals(Interlocked.CompareExchange(ref _callback, continuation, null),
_callbackCompleted
))
66
var continuation = Interlocked.Exchange(ref _callback,
_callbackCompleted
);