1 write to _tracker
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\AnalyzersCommandHandler.cs (1)
89_tracker = tracker;
22 references to _tracker
Microsoft.VisualStudio.LanguageServices.Implementation (22)
SolutionExplorer\AnalyzersCommandHandler.cs (22)
129if (_tracker != null) 131_tracker.SelectedHierarchyItemChanged += SelectedHierarchyItemChangedHandler; 236_projectContextAddMenuItem.Visible = selectedProjectSupportsAnalyzers && _tracker.SelectedItemId == VSConstants.VSITEMID_ROOT; 239_tracker.SelectedHierarchy.TryGetItemName(_tracker.SelectedItemId, out var itemName) && 253_openHelpLinkMenuItem.Visible = _tracker.SelectedDiagnosticItems.Length == 1 && 254_tracker.SelectedDiagnosticItems[0].Descriptor.GetValidHelpLinkUri() != null; 273var groups = _tracker.SelectedDiagnosticItems.GroupBy(item => item.ProjectId); 325var configurable = !_tracker.SelectedDiagnosticItems.Any(static item => item.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable)); 337return _tracker != null && 338_tracker.SelectedHierarchy != null && 339_tracker.SelectedHierarchy.TryGetProject(out var project) && 358foreach (var item in _tracker.SelectedAnalyzerItems) 366if (_tracker.SelectedFolder != null && 369var projectId = _tracker.SelectedFolder.ProjectId; 370if (_tracker.SelectedFolder.Workspace is VisualStudioWorkspace workspace) 436foreach (var selectedDiagnostic in _tracker.SelectedDiagnosticItems) 511if (_tracker.SelectedDiagnosticItems.Length != 1) 516var uri = _tracker.SelectedDiagnosticItems[0].Descriptor.GetValidHelpLinkUri(); 525if (_tracker.SelectedHierarchy.TryGetProject(out var project) && 526_tracker.SelectedHierarchy.TryGetCanonicalName(_tracker.SelectedItemId, out var ruleSetFileFullPath))