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