2 instantiations of TypeListItem
Microsoft.VisualStudio.LanguageServices (2)
Library\ObjectBrowser\AbstractListItemFactory.cs (2)
108return new TypeListItem(projectId, namedTypeSymbol, displayText, fullNameText, searchText, hidden); 121return new TypeListItem(projectId, namedTypeSymbol, displayText, fullNameText, searchText, hidden);
16 references to TypeListItem
Microsoft.VisualStudio.LanguageServices (16)
Library\ObjectBrowser\AbstractDescriptionBuilder.cs (2)
166private async Task BuildTypeAsync(TypeListItem typeListItem, _VSOBJDESCOPTIONS options, CancellationToken cancellationToken) 468case TypeListItem typeListItem:
Library\ObjectBrowser\AbstractListItemFactory.cs (8)
98protected TypeListItem CreateSimpleTypeListItem(INamedTypeSymbol namedTypeSymbol, ProjectId projectId, bool hidden) 111protected TypeListItem CreateFullyQualifiedTypeListItem(INamedTypeSymbol namedTypeSymbol, ProjectId projectId, bool hidden) 232Debug.Assert(parentListItem is TypeListItem); 235if (parentListItem is not TypeListItem parentTypeItem) 248Debug.Assert(parentListItem is TypeListItem or 262if (parentListItem is TypeListItem parentTypeItem) 392Debug.Assert(parentListItem is TypeListItem); 395if (parentListItem is not TypeListItem parentTypeItem)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
436else if (symbolListItem is TypeListItem)
Library\ObjectBrowser\ObjectList.cs (5)
170var typeListItem = (TypeListItem)GetListItem(index); 195var typeListItem = (TypeListItem)GetListItem(index); 420if (GetListItem(index) is not TypeListItem typeListItem)