6 references to _callbackCompleted
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Infrastructure\StreamCloseAwaitable.cs (6)
15private Action? _callback = _callbackCompleted; 18public bool IsCompleted => ReferenceEquals(_callback, _callbackCompleted); 22Debug.Assert(ReferenceEquals(_callback, _callbackCompleted)); 29if (ReferenceEquals(_callback, _callbackCompleted) || 30ReferenceEquals(Interlocked.CompareExchange(ref _callback, continuation, null), _callbackCompleted)) 43Interlocked.Exchange(ref _callback, _callbackCompleted)?.Invoke();