2 writes to _listenTask
VBCSCompiler (2)
ServerDispatcher.cs (2)
166_listenTask = null; 240_listenTask = _clientConnectionHost.GetNextClientConnectionAsync();
11 references to _listenTask
VBCSCompiler (11)
ServerDispatcher.cs (11)
103if (_listenTask is not null) 108if (!_listenTask.IsCompleted) 111_listenTask.ContinueWith(_ => { }, CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default) 115if (_listenTask.Status == TaskStatus.RanToCompletion) 119_listenTask.Result.Dispose(); 123_logger.LogException(ex, $"Error disposing of {nameof(_listenTask)}"); 152if (_listenTask?.IsCompleted == true) 157_listenTask, 192AddNonNull(_listenTask); 238if (_listenTask is null) 249Debug.Assert(_listenTask != null);