1 write to _state
Microsoft.CodeAnalysis.EditorFeatures (1)
FindUsages\BufferedFindUsagesContext.cs (1)
113_state = null;
20 references to _state
Microsoft.CodeAnalysis.EditorFeatures (20)
FindUsages\BufferedFindUsagesContext.cs (20)
51[MemberNotNullWhen(false, nameof(_state))] 65return _state.Message; 72return _state.InformationalMessage; 79return _state.SearchTitle; 86return _state.Definitions.ToImmutable(); 96await presenterContext.ProgressTracker.AddItemsAsync(_state.TotalItemCount, cancellationToken).ConfigureAwait(false); 97await presenterContext.ProgressTracker.ItemsCompletedAsync(_state.ItemsCompleted, cancellationToken).ConfigureAwait(false); 99if (_state.SearchTitle != null) 100await presenterContext.SetSearchTitleAsync(_state.SearchTitle, cancellationToken).ConfigureAwait(false); 102if (_state.Message != null) 103await presenterContext.ReportNoResultsAsync(_state.Message, cancellationToken).ConfigureAwait(false); 105if (_state.InformationalMessage != null) 106await presenterContext.ReportMessageAsync(_state.InformationalMessage, NotificationSeverity.Information, cancellationToken).ConfigureAwait(false); 108foreach (var definition in _state.Definitions) 129_state.TotalItemCount += count; 142_state.ItemsCompleted += count; 159_state.Message = message; 172_state.InformationalMessage = message; 185_state.SearchTitle = title; 198_state.Definitions.Add(definition);