1 instantiation of NavigationBarProjectItem
Microsoft.CodeAnalysis.EditorFeatures (1)
NavigationBar\NavigationBarController.cs (1)
221new NavigationBarProjectItem(
23 references to NavigationBarProjectItem
Microsoft.CodeAnalysis.EditorFeatures (12)
Extensibility\NavigationBar\INavigationBarPresenter.cs (2)
16ImmutableArray<NavigationBarProjectItem> projects, 17NavigationBarProjectItem? selectedProject,
Extensibility\NavigationBar\NavigationBarProjectItem.cs (3)
11internal sealed class NavigationBarProjectItem : NavigationBarItem, IEquatable<NavigationBarProjectItem> 43=> Equals(obj as NavigationBarProjectItem); 45public bool Equals(NavigationBarProjectItem? item)
NavigationBar\NavigationBarController.cs (6)
48private (ImmutableArray<NavigationBarProjectItem> projectItems, NavigationBarProjectItem? selectedProjectItem, NavigationBarModel? model, NavigationBarSelectedTypeAndMember selectedInfo) _lastPresentedInfo; 210private void GetProjectItems(out ImmutableArray<NavigationBarProjectItem> projectItems, out NavigationBarProjectItem? selectedProjectItem) 215projectItems = ImmutableArray<NavigationBarProjectItem>.Empty; 267if (item is NavigationBarProjectItem projectItem)
NavigationBar\NavigationBarController_ModelComputation.cs (1)
126GetProjectItems(out var projectItems, out var selectedProjectItem);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (6)
NavigationBar\MockNavigationBarPresenter.vb (6)
14Private ReadOnly _presentItemsWithValuesCallback As Action(Of IList(Of NavigationBarProjectItem), NavigationBarProjectItem, IList(Of NavigationBarItem), NavigationBarItem, NavigationBarItem) 21Public Sub New(textView As ITextView, presentItemsWithValuesCallback As Action(Of IList(Of NavigationBarProjectItem), NavigationBarProjectItem, IList(Of NavigationBarItem), NavigationBarItem, NavigationBarItem)) 34projects As ImmutableArray(Of NavigationBarProjectItem), 35selectedProject As NavigationBarProjectItem,
Microsoft.VisualStudio.LanguageServices (5)
NavigationBar\NavigationBarClient.cs (5)
37private IList<NavigationBarProjectItem> _projectItems; 55_projectItems = SpecializedCollections.EmptyList<NavigationBarProjectItem>(); 275if (item is NavigationBarProjectItem projectItem) 300ImmutableArray<NavigationBarProjectItem> projects, 301NavigationBarProjectItem? selectedProject,