1 write to SelectedHierarchy
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\AnalyzerItemTracker.cs (1)
76
this.
SelectedHierarchy
= pHierNew;
10 references to SelectedHierarchy
Microsoft.VisualStudio.LanguageServices.Implementation (10)
SolutionExplorer\AnalyzerItemTracker.cs (2)
73
var oldSelectedHierarchy = this.
SelectedHierarchy
;
94
if (!object.ReferenceEquals(oldSelectedHierarchy, this.
SelectedHierarchy
) ||
SolutionExplorer\AnalyzerReferenceManager.cs (3)
44
_tracker.
SelectedHierarchy
!= null)
63
Contract.ThrowIfNull(_tracker.
SelectedHierarchy
);
64
if (_tracker.
SelectedHierarchy
.TryGetProject(out var project))
SolutionExplorer\AnalyzersCommandHandler.cs (5)
239
_tracker.
SelectedHierarchy
.TryGetItemName(_tracker.SelectedItemId, out var itemName) &&
338
_tracker.
SelectedHierarchy
!= null &&
339
_tracker.
SelectedHierarchy
.TryGetProject(out var project) &&
525
if (_tracker.
SelectedHierarchy
.TryGetProject(out var project) &&
526
_tracker.
SelectedHierarchy
.TryGetCanonicalName(_tracker.SelectedItemId, out var ruleSetFileFullPath))