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)
129
if (
_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;
273
var groups =
_tracker
.SelectedDiagnosticItems.GroupBy(item => item.ProjectId);
325
var configurable = !
_tracker
.SelectedDiagnosticItems.Any(static item => item.Descriptor.ImmutableCustomTags().Contains(WellKnownDiagnosticTags.NotConfigurable));
337
return
_tracker
!= null &&
338
_tracker
.SelectedHierarchy != null &&
339
_tracker
.SelectedHierarchy.TryGetProject(out var project) &&
358
foreach (var item in
_tracker
.SelectedAnalyzerItems)
366
if (
_tracker
.SelectedFolder != null &&
369
var projectId =
_tracker
.SelectedFolder.ProjectId;
370
if (
_tracker
.SelectedFolder.Workspace is VisualStudioWorkspace workspace)
436
foreach (var selectedDiagnostic in
_tracker
.SelectedDiagnosticItems)
511
if (
_tracker
.SelectedDiagnosticItems.Length != 1)
516
var uri =
_tracker
.SelectedDiagnosticItems[0].Descriptor.GetValidHelpLinkUri();
525
if (
_tracker
.SelectedHierarchy.TryGetProject(out var project) &&
526
_tracker
.SelectedHierarchy.TryGetCanonicalName(
_tracker
.SelectedItemId, out var ruleSetFileFullPath))