219 references to Item
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (219)
NavigationBar\CSharpNavigationBarTests.vb (51)
21Item("C<in I, out O>", Glyph.InterfaceInternal, children:={})) 33Item("Program", Glyph.ClassInternal, children:={ 34Item("Swap<T>(T lhs, T rhs)", Glyph.MethodPrivate)})) 46Item("C", Glyph.ClassInternal, children:={}), 47Item("C.Nested", Glyph.ClassPrivate, children:={})) 59Item("C.Nested", Glyph.ClassPrivate), False, 72Item("E", Glyph.EnumInternal), False, 73Item("A", Glyph.EnumMemberPublic), False) 85Item("C", Glyph.ClassInternal), False, 86Item("goo", Glyph.FieldPrivate), False) 98Item("C", Glyph.ClassInternal), False, 99Item("goo", Glyph.FieldPrivate), False) 111Item("C", Glyph.ClassInternal), True, 112Item("goo", Glyph.FieldPrivate), True) 127Item("C", Glyph.ClassInternal, children:={ 128Item("IDisposable.Dispose()", Glyph.MethodPrivate)})) 142Item("C", Glyph.ClassInternal, children:={ 143Item("M(out string goo, ref string bar)", Glyph.MethodPrivate)})) 157Item("C", Glyph.ClassInternal, children:={ 158Item("M(int i = 0)", Glyph.MethodPrivate)})) 172Item("C", Glyph.ClassInternal, children:={ 173Item("M(CancellationToken cancellationToken = default)", Glyph.MethodPrivate)})) 187Item("C", Glyph.ClassInternal, children:={ 188Item("Number", Glyph.PropertyPrivate)})) 202Item("Goo", Glyph.EnumInternal, children:={ 203Item("A", Glyph.EnumMemberPublic), 204Item("B", Glyph.EnumMemberPublic), 205Item("C", Glyph.EnumMemberPublic)})) 219Item("Goo", Glyph.DelegateInternal, children:={})) 232Item("C", Glyph.ClassInternal), False, 233Item("goo", Glyph.FieldPrivate, grayed:=True), True) 246Item("C", Glyph.ClassInternal, children:={ 247Item("M()", Glyph.MethodPrivate), 248Item("M()", Glyph.MethodPrivate, grayed:=True)})) 261Item("C", Glyph.ClassInternal, children:={ 262Item("M()", Glyph.MethodPrivate), 263Item("M()", Glyph.MethodPrivate, grayed:=True)})) 276Item("C", Glyph.ClassInternal, children:={ 277Item("M()", Glyph.MethodPublic), 278Item("M()", Glyph.MethodPublic, grayed:=True)})) 291Item("C", Glyph.ClassInternal, children:={ 292Item("M()", Glyph.MethodPublic), 293Item("M()", Glyph.MethodPublic, grayed:=True)})) 307Item("C", Glyph.ClassInternal, children:={ 308Item("M(string? s, IEnumerable<string?> e)", Glyph.MethodPrivate)})) 327Item("C", Glyph.ClassInternal), False, 328Item("operator checked +(C x, C y)", Glyph.Operator), False) 347Item("C", Glyph.ClassInternal), False, 348Item("operator checked -(C x)", Glyph.Operator), False) 367Item("C", Glyph.ClassInternal), False, 368Item("explicit operator checked string(C x)", Glyph.Operator), False)
NavigationBar\VisualBasicNavigationBarTests.vb (168)
27Item("I", Glyph.InterfaceInternal, bolded:=True, children:={ 28Item("Goo", Glyph.EventPublic, bolded:=True)})) 43Item("S", Glyph.StructureInternal, bolded:=True, children:={})) 58Item("I", Glyph.InterfaceInternal, bolded:=True, children:={})) 84Item("C", Glyph.ClassInternal, bolded:=True, children:={ 85Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 86Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 87Item("Operator +(C, C) As C", Glyph.Operator, bolded:=True), 88Item("Operator +(C, Integer) As C", Glyph.Operator, bolded:=True), 89Item("Operator -", Glyph.Operator, bolded:=True)})) 107Item("C", Glyph.ClassInternal, bolded:=True, children:={ 108Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 109Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 110Item("Narrowing Operator CType", Glyph.Operator, bolded:=True)})) 132Item("C", Glyph.ClassInternal, bolded:=True, children:={ 133Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 134Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 135Item("Narrowing Operator CType(C) As Integer", Glyph.Operator, bolded:=True), 136Item("Narrowing Operator CType(C) As String", Glyph.Operator, bolded:=True)})) 155Item("C", Glyph.ClassInternal, bolded:=True), 156Item("Nested (N.C)", Glyph.ClassPublic, bolded:=True)) 170Item("Goo", Glyph.DelegateInternal, children:={}, bolded:=True)) 185Item("C(Of In T)", Glyph.InterfaceInternal, bolded:=True)) 205Item("C", Glyph.ClassInternal, bolded:=True, children:={ 206Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 207Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 208Item("S()", Glyph.MethodPublic, bolded:=True), 209Item("S(Of T)()", Glyph.MethodPublic, bolded:=True)})) 226Item("C", Glyph.ClassInternal, bolded:=True, children:={ 227Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 228Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 229Item("S(Of T)()", Glyph.MethodPublic, bolded:=True)})) 246Item("C", Glyph.ClassInternal, bolded:=True, children:={ 247Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 248Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 249Item("S(Of T)() As Integer", Glyph.MethodPublic, bolded:=True)})) 266Item("C", Glyph.ClassInternal, bolded:=True, children:={ 267Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 268Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 269Item("S", Glyph.MethodPublic, bolded:=True)})) 287Item("Nested (C)", Glyph.ClassPublic, bolded:=True), False, Nothing, False) 305Item("Nested (Z)", Glyph.ClassPublic, bolded:=True), False, Nothing, False) 322Item("C", Glyph.ClassInternal, bolded:=True, children:={ 323Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 324Item("Finalize", Glyph.MethodProtected, bolded:=True)})) 341Item("C", Glyph.ClassInternal, bolded:=True, children:={ 342Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 343Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 344Item("Co", Glyph.ConstantPrivate, bolded:=True), 345Item("F", Glyph.FieldPrivate, bolded:=True)})) 473Item("C", Glyph.ClassInternal, bolded:=True, children:={ 474Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 475Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 476Item("Goo", Glyph.MethodPublic, grayed:=True)})) 492Item("C", Glyph.ClassInternal, bolded:=True, children:={ 493Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 494Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 495Item("goo", Glyph.FieldPrivate, bolded:=False, hasNavigationSymbolId:=False, indent:=1, children:={ 496Item("CancelKeyPress", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 525Item("I1", Glyph.InterfaceInternal, bolded:=True, children:={ 526Item("I1Event", Glyph.EventPublic, bolded:=True)}), 527Item("I2", Glyph.InterfaceInternal, bolded:=True, children:={ 528Item("I2Event", Glyph.EventPublic, bolded:=True)}), 529Item("I3", Glyph.InterfaceInternal, bolded:=True, children:={ 530Item("I3Event", Glyph.EventPublic, bolded:=True)}), 531Item("Test", Glyph.ClassInternal, bolded:=True, children:={ 532Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 533Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 534Item("i3", Glyph.FieldPrivate, hasNavigationSymbolId:=False, indent:=1, children:={ 535Item("I1Event", Glyph.EventPublic, hasNavigationSymbolId:=False), 536Item("I2Event", Glyph.EventPublic, hasNavigationSymbolId:=False), 537Item("I3Event", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 563Item("B", Glyph.ClassInternal, bolded:=True, children:={ 564Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 565Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 566Item("E", Glyph.EventPublic, bolded:=True)}), 567Item(String.Format(VBFeaturesResources._0_Events, "B"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 568Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)}), 569Item("C", Glyph.ClassInternal, bolded:=True, children:={ 570Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 571Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 572Item("E", Glyph.EventPublic, bolded:=True)}), 573Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 574Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)}), ' Only one E under the "(C Events)" node 575Item("Test", Glyph.ClassInternal, bolded:=True, children:={ 576Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 577Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 578Item("c", Glyph.FieldPrivate, hasNavigationSymbolId:=False, indent:=1, children:={ 579Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)})) ' Only one E for WithEvents handling 599Item("C", Glyph.ClassInternal, bolded:=True, children:={ 600Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 601Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 602Item("E", Glyph.EventPublic, bolded:=True)}), 603Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 604Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)}), 605Item("D", Glyph.ClassInternal, bolded:=True, children:={ 606Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 607Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 608Item(String.Format(VBFeaturesResources._0_Events, "D"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 609Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 630Item("C", Glyph.ClassInternal, bolded:=True, children:={ 631Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 632Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 633Item("E", Glyph.EventPrivate, bolded:=True)}), 634Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 635Item("E", Glyph.EventPrivate, hasNavigationSymbolId:=False)}), 636Item("D", Glyph.ClassInternal, bolded:=True, children:={ 637Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 638Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)})) 672Item("C", Glyph.ClassInternal, bolded:=True, children:={ 673Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 674Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 675Item("E0", Glyph.EventPublic, bolded:=True), 676Item("E1", Glyph.EventProtected, bolded:=True), 677Item("E2", Glyph.EventPrivate, bolded:=True)}), 678Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 679Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False), 680Item("E1", Glyph.EventProtected, hasNavigationSymbolId:=False), 681Item("E2", Glyph.EventPrivate, hasNavigationSymbolId:=False)}), 682Item("D2", Glyph.ClassInternal, bolded:=True, children:={ 683Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 684Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 685Item(String.Format(VBFeaturesResources._0_Events, "D2"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 686Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False), 687Item("E1", Glyph.EventProtected, hasNavigationSymbolId:=False)}), 688Item("N1 (C)", Glyph.ClassPublic, bolded:=True, children:={ 689Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 690Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 691Item("N2 (C.N1)", Glyph.ClassPublic, bolded:=True, children:={ 692Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 693Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 694Item(String.Format(VBFeaturesResources._0_Events, "N2"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 695Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False), 696Item("E1", Glyph.EventProtected, hasNavigationSymbolId:=False), 697Item("E2", Glyph.EventPrivate, hasNavigationSymbolId:=False)}), 698Item("T", Glyph.ClassInternal, bolded:=True, children:={ 699Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 700Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 701Item("c", Glyph.FieldPrivate, hasNavigationSymbolId:=False, indent:=1, children:={ 702Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 832Item("C", Glyph.ClassInternal, children:={ 833Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 834Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 835Item("BindingError", Glyph.EventPublic, hasNavigationSymbolId:=True, bolded:=True)}, 859Item("C", Glyph.ClassInternal, bolded:=True), 860Item("M", Glyph.FieldPrivate, indent:=1, hasNavigationSymbolId:=False)) 878Item("MyEnum", Glyph.EnumInternal, children:={ 879Item("A", Glyph.EnumMemberPublic), 880Item("B", Glyph.EnumMemberPublic), 881Item("C", Glyph.EnumMemberPublic)}, 910Item("Base", Glyph.ClassPublic, children:={ 911Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 912Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}, 914Item("o1", Glyph.FieldPublic, children:={ 915Item("Ev_Event", Glyph.EventPublic, bolded:=True)}, 919Item("o2", Glyph.FieldPublic, children:={ 920Item("Ev_Event", Glyph.EventPublic, hasNavigationSymbolId:=False)}, 924Item("Class1 (Base)", Glyph.ClassPublic, children:={ 925Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 926Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 927Item("Ev_Event", Glyph.EventPublic, bolded:=True)}, 929Item(String.Format(VBFeaturesResources._0_Events, "Class1"), Glyph.EventPublic, children:={ 930Item("Ev_Event", Glyph.EventPublic, hasNavigationSymbolId:=False)}, 1149Item("C", Glyph.ClassInternal, bolded:=True, children:={ 1150Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 1151Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 1152Item("Get_P", Glyph.MethodPublic, bolded:=True), 1153Item("P", Glyph.PropertyPublic, bolded:=True)}))