21 references to Method
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (2)
675
case LSP.SymbolKind.
Method
:
748
return LSP.SymbolKind.
Method
;
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (19)
Symbols\DocumentSymbolsTests.cs (2)
44
CreateSymbolInformation(LSP.SymbolKind.
Method
, "A()", testLspServer.GetLocations("constructor").Single(), Glyph.MethodPublic, "Test.A"),
45
CreateSymbolInformation(LSP.SymbolKind.
Method
, "M()", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, "Test.A"),
Symbols\DocumentSymbolsTests.Hierarchical.cs (14)
42
Symbol(LSP.SymbolKind.
Method
, "A()", "A()", "constructor", "constructorSelection", testLspServer),
43
Symbol(LSP.SymbolKind.
Method
, "M() : void", "M() : void", "method", "methodSelection", testLspServer),
141
Symbol(LSP.SymbolKind.
Method
, "M() : void", "M() : void", "method", "methodSelection", testLspServer,
142
Symbol(LSP.SymbolKind.
Method
, "LocalFunction(string) : int", "LocalFunction(string) : int", "localFunction", "localFunctionSelection", testLspServer,
143
Symbol(LSP.SymbolKind.
Method
, "NestedLocal() : void", "NestedLocal() : void", "nestedLocal", "nestedLocalSelection", testLspServer))))
197
Symbol(LSP.SymbolKind.
Method
, "M() : void", "M() : void", "method", "methodSelection", testLspServer))
229
Symbol(LSP.SymbolKind.
Method
, "M() : void", "M() : void", "methodA", "methodASelection", testLspServer)),
231
Symbol(LSP.SymbolKind.
Method
, "N() : void", "N() : void", "methodB", "methodBSelection", testLspServer))
415
Symbol(LSP.SymbolKind.
Method
, "DoSomething() : void", "DoSomething() : void", "method", "methodSelection", testLspServer))
434
Symbol(LSP.SymbolKind.
Method
, "MyDelegate(int) : void", "MyDelegate(int) : void", "delegate", "delegateSelection", testLspServer)
459
Symbol(LSP.SymbolKind.
Method
, "~A()", "~A()", "destructor", "destructorSelection", testLspServer))
689
Symbol(LSP.SymbolKind.
Method
, "GetValue<T>(T) : T", "GetValue<T>(T) : T", "method", "methodSelection", testLspServer))
712
Symbol(LSP.SymbolKind.
Method
, "GetById(int) : T", "GetById(int) : T", "method", "methodSelection", testLspServer))
773
Symbol(LSP.SymbolKind.
Method
, "Func<T, TResult>(T) : TResult", "Func<T, TResult>(T) : TResult", "delegate", "delegateSelection", testLspServer)
Symbols\WorkspaceSymbolsTests.cs (3)
100
CreateSymbolInformation(LSP.SymbolKind.
Method
, "M", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A"))
188
CreateSymbolInformation(LSP.SymbolKind.
Method
, "M", testLspServer.GetLocations("method")[0], Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A")),
189
CreateSymbolInformation(LSP.SymbolKind.
Method
, "M", testLspServer.GetLocations("method")[1], Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "B"))