92 references to ObjectListKind
Microsoft.VisualStudio.LanguageServices (92)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (4)
304var listKind = Helpers.ListTypeToObjectListKind(listType); 313if (listKind == ObjectListKind.Hierarchy) 318Debug.Assert(listKind == ObjectListKind.Projects); 320return new ObjectList(ObjectListKind.Projects, flags, this, this.GetProjectListItems(this.Workspace.CurrentSolution, _languageName, flags));
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager_Search.cs (7)
38ObjectListKind listKind, 52case ObjectListKind.Namespaces: 64return new ObjectList(ObjectListKind.Namespaces, flags, this, builder.ToImmutable()); 67case ObjectListKind.Types: 83return new ObjectList(ObjectListKind.Types, flags, this, builder.ToImmutable()); 86case ObjectListKind.Members: 102return new ObjectList(ObjectListKind.Types, flags, this, builder.ToImmutable());
Library\ObjectBrowser\Helpers.cs (17)
19public static ObjectListKind ListTypeToObjectListKind(uint listType) 24return ObjectListKind.Types; 26return ObjectListKind.Hierarchy; 28return ObjectListKind.Members; 30return ObjectListKind.Namespaces; 32return ObjectListKind.Projects; 34return ObjectListKind.References; 36return ObjectListKind.BaseTypes; 41return ObjectListKind.None; 44public static uint ObjectListKindToListType(ObjectListKind kind) 48case ObjectListKind.BaseTypes: 50case ObjectListKind.Hierarchy: 52case ObjectListKind.Members: 54case ObjectListKind.Namespaces: 56case ObjectListKind.Projects: 58case ObjectListKind.References: 60case ObjectListKind.Types:
Library\ObjectBrowser\ObjectList.cs (62)
30ObjectListKind kind, 39ObjectListKind kind, 80case ObjectListKind.BaseTypes: 81case ObjectListKind.Hierarchy: 82case ObjectListKind.Members: 83case ObjectListKind.Namespaces: 84case ObjectListKind.Projects: 85case ObjectListKind.References: 86case ObjectListKind.Types: 119case ObjectListKind.BaseTypes: 123case ObjectListKind.Hierarchy: 124var parentKind = this.ParentKind; 125categoryField = parentKind is ObjectListKind.Types or ObjectListKind.BaseTypes 131case ObjectListKind.Members: 135case ObjectListKind.Namespaces: 139case ObjectListKind.Projects: 142if (IsClassView() && this.ParentKind == ObjectListKind.None) 149case ObjectListKind.References: 153case ObjectListKind.Types: 314case ObjectListKind.Projects: 318case ObjectListKind.References: 360if (Kind == ObjectListKind.Hierarchy) 362categoryField = this.ParentKind == ObjectListKind.Projects 404case ObjectListKind.Hierarchy: 405case ObjectListKind.Namespaces: 406case ObjectListKind.Projects: 407case ObjectListKind.References: 410case ObjectListKind.BaseTypes: 411case ObjectListKind.Types: 469case ObjectListKind.Hierarchy: 481case ObjectListKind.BaseTypes: 490var listKind = Helpers.ListTypeToObjectListKind(listType); 515case ObjectListKind.Types: 516return new ObjectList(ObjectListKind.Types, flags, this, listItem, LibraryManager, this.LibraryManager.GetTypeListItems(listItem, compilation)); 517case ObjectListKind.Hierarchy: 518return new ObjectList(ObjectListKind.Hierarchy, flags, this, listItem, LibraryManager, this.LibraryManager.GetFolderListItems(listItem, compilation)); 519case ObjectListKind.Namespaces: 520return new ObjectList(ObjectListKind.Namespaces, flags, this, listItem, LibraryManager, this.LibraryManager.GetNamespaceListItems(listItem, compilation)); 521case ObjectListKind.Members: 522return new ObjectList(ObjectListKind.Members, flags, this, listItem, LibraryManager, this.LibraryManager.GetMemberListItems(listItem, compilation)); 523case ObjectListKind.References: 524return new ObjectList(ObjectListKind.References, flags, this, listItem, LibraryManager, this.LibraryManager.GetReferenceListItems(listItem, compilation)); 525case ObjectListKind.BaseTypes: 526return new ObjectList(ObjectListKind.BaseTypes, flags, this, listItem, LibraryManager, this.LibraryManager.GetBaseTypeListItems(listItem, compilation)); 618if (Kind is ObjectListKind.Types or 619ObjectListKind.Namespaces or 620ObjectListKind.Members) 635else if (Kind == ObjectListKind.Projects) 770case ObjectListKind.Projects: 771case ObjectListKind.References: 773case ObjectListKind.BaseTypes: 774case ObjectListKind.Namespaces: 775case ObjectListKind.Types: 777case ObjectListKind.Members: 779case ObjectListKind.Hierarchy: 807case ObjectListKind.Projects: 810case ObjectListKind.Members: 813case ObjectListKind.Hierarchy: 950public ObjectListKind Kind { get; } 952public ObjectListKind ParentKind 958: ObjectListKind.None;
Library\ObjectBrowser\ObjectListItem.cs (2)
61public ObjectListKind ParentListKind 67: ObjectListKind.None;