67 references to Symbol
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (67)
Symbols\DocumentSymbolsTests.Hierarchical.cs (67)
40Symbol(LSP.SymbolKind.Namespace, "Test", "Test", "namespace", "namespaceSelection", testLspServer, 41Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 42Symbol(LSP.SymbolKind.Method, "A()", "A()", "constructor", "constructorSelection", testLspServer), 43Symbol(LSP.SymbolKind.Method, "M() : void", "M() : void", "method", "methodSelection", testLspServer), 44Symbol(LSP.SymbolKind.Operator, "operator +(A, A) : A", "operator +(A, A) : A", "operator", "operatorSelection", testLspServer))) 66Symbol(LSP.SymbolKind.Namespace, "NamespaceA", "NamespaceA", "namespace", "namespaceSelection", testLspServer, 67Symbol(LSP.SymbolKind.Class, ".", "", "class", "classSelection", testLspServer)) 89Symbol(LSP.SymbolKind.Namespace, ".", "", "namespace", "namespaceSelection", testLspServer) 110Symbol(LSP.SymbolKind.Namespace, "One.Two.Three", "One.Two.Three", "namespace", "namespaceSelection", testLspServer) 140Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 141Symbol(LSP.SymbolKind.Method, "M() : void", "M() : void", "method", "methodSelection", testLspServer, 142Symbol(LSP.SymbolKind.Method, "LocalFunction(string) : int", "LocalFunction(string) : int", "localFunction", "localFunctionSelection", testLspServer, 143Symbol(LSP.SymbolKind.Method, "NestedLocal() : void", "NestedLocal() : void", "nestedLocal", "nestedLocalSelection", testLspServer)))) 170Symbol(LSP.SymbolKind.Namespace, "Outer", "Outer", "outerNamespace", "outerNamespaceSelection", testLspServer, 171Symbol(LSP.SymbolKind.Namespace, "Inner", "Inner", "innerNamespace", "innerNamespaceSelection", testLspServer, 172Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer))) 196Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 197Symbol(LSP.SymbolKind.Method, "M() : void", "M() : void", "method", "methodSelection", testLspServer)) 228Symbol(LSP.SymbolKind.Class, "A", "A", "classA", "classASelection", testLspServer, 229Symbol(LSP.SymbolKind.Method, "M() : void", "M() : void", "methodA", "methodASelection", testLspServer)), 230Symbol(LSP.SymbolKind.Class, "B", "B", "classB", "classBSelection", testLspServer, 231Symbol(LSP.SymbolKind.Method, "N() : void", "N() : void", "methodB", "methodBSelection", testLspServer)) 256Symbol(LSP.SymbolKind.Class, "Outer", "Outer", "class", "classSelection", testLspServer, 257Symbol(LSP.SymbolKind.Enum, "Bar", "Bar", "nestedEnum", "nestedEnumSelection", testLspServer, 258Symbol(LSP.SymbolKind.EnumMember, "None", "None", "enumMember", "enumMemberSelection", testLspServer))) 281Symbol(LSP.SymbolKind.Namespace, "Test", "Test", "namespace", "namespaceSelection", testLspServer, 282Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer)) 304Symbol(LSP.SymbolKind.Struct, "MyStruct", "MyStruct", "struct", "structSelection", testLspServer, 305Symbol(LSP.SymbolKind.Field, "Value : int", "Value : int", "field", "fieldSelection", testLspServer)) 327Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 328Symbol(LSP.SymbolKind.Field, "a : int", "a : int", "fieldA", "fieldASelection", testLspServer), 329Symbol(LSP.SymbolKind.Field, "b : int", "b : int", "fieldB", "fieldBSelection", testLspServer), 330Symbol(LSP.SymbolKind.Field, "c : int", "c : int", "fieldC", "fieldCSelection", testLspServer)) 352Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 353Symbol(LSP.SymbolKind.Event, "A : EventHandler", "A : EventHandler", "eventA", "eventASelection", testLspServer), 354Symbol(LSP.SymbolKind.Event, "B : EventHandler", "B : EventHandler", "eventB", "eventBSelection", testLspServer)) 373Symbol(LSP.SymbolKind.Class, "Person", "Person", "record", "recordSelection", testLspServer) 392Symbol(LSP.SymbolKind.Struct, "Point", "Point", "record", "recordSelection", testLspServer) 414Symbol(LSP.SymbolKind.Interface, "IMyInterface", "IMyInterface", "interface", "interfaceSelection", testLspServer, 415Symbol(LSP.SymbolKind.Method, "DoSomething() : void", "DoSomething() : void", "method", "methodSelection", testLspServer)) 434Symbol(LSP.SymbolKind.Method, "MyDelegate(int) : void", "MyDelegate(int) : void", "delegate", "delegateSelection", testLspServer) 458Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 459Symbol(LSP.SymbolKind.Method, "~A()", "~A()", "destructor", "destructorSelection", testLspServer)) 481Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 482Symbol(LSP.SymbolKind.Property, "Value : int", "Value : int", "property", "propertySelection", testLspServer)) 504Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 505Symbol(LSP.SymbolKind.Property, "this[int] : int", "this[int] : int", "indexer", "indexerSelection", testLspServer)) 531Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 532Symbol(LSP.SymbolKind.Event, "MyEvent : EventHandler", "MyEvent : EventHandler", "event", "eventSelection", testLspServer)) 554Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 555Symbol(LSP.SymbolKind.Event, "MyEvent : EventHandler", "MyEvent : EventHandler", "eventField", "eventFieldSelection", testLspServer)) 577Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 578Symbol(LSP.SymbolKind.Operator, "implicit operator int(A)", "implicit operator int(A)", "operator", "operatorSelection", testLspServer)) 600Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 601Symbol(LSP.SymbolKind.Operator, "explicit operator int(A)", "explicit operator int(A)", "operator", "operatorSelection", testLspServer)) 623Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 624Symbol(LSP.SymbolKind.Constant, "MaxValue : int", "MaxValue : int", "const", "constSelection", testLspServer)) 645Symbol(LSP.SymbolKind.Class, "MyClass<T>", "MyClass<T>", "class", "classSelection", testLspServer) 666Symbol(LSP.SymbolKind.Class, "Dictionary<TKey, TValue>", "Dictionary<TKey, TValue>", "class", "classSelection", testLspServer) 688Symbol(LSP.SymbolKind.Class, "A", "A", "class", "classSelection", testLspServer, 689Symbol(LSP.SymbolKind.Method, "GetValue<T>(T) : T", "GetValue<T>(T) : T", "method", "methodSelection", testLspServer)) 711Symbol(LSP.SymbolKind.Interface, "IRepository<T>", "IRepository<T>", "interface", "interfaceSelection", testLspServer, 712Symbol(LSP.SymbolKind.Method, "GetById(int) : T", "GetById(int) : T", "method", "methodSelection", testLspServer)) 734Symbol(LSP.SymbolKind.Struct, "Wrapper<T>", "Wrapper<T>", "struct", "structSelection", testLspServer, 735Symbol(LSP.SymbolKind.Field, "Value : T", "Value : T", "field", "fieldSelection", testLspServer)) 754Symbol(LSP.SymbolKind.Class, "Result<T>", "Result<T>", "record", "recordSelection", testLspServer) 773Symbol(LSP.SymbolKind.Method, "Func<T, TResult>(T) : TResult", "Func<T, TResult>(T) : TResult", "delegate", "delegateSelection", testLspServer)