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