11 references to Method
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (2)
599
case LSP.SymbolKind.
Method
:
672
return LSP.SymbolKind.
Method
;
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (9)
Symbols\DocumentSymbolsTests.cs (6)
53
var constructorSymbol = CreateDocumentSymbol(LSP.SymbolKind.
Method
, "A", "A()", testLspServer.GetLocations("constructor").Single(), testLspServer.GetLocations("constructorSelection").Single(), classSymbol);
54
var methodSymbol = CreateDocumentSymbol(LSP.SymbolKind.
Method
, "M", "M()", testLspServer.GetLocations("method").Single(), testLspServer.GetLocations("methodSelection").Single(), classSymbol);
91
CreateSymbolInformation(LSP.SymbolKind.
Method
, "A()", testLspServer.GetLocations("constructor").Single(), Glyph.MethodPublic, "Test.A"),
92
CreateSymbolInformation(LSP.SymbolKind.
Method
, "M()", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, "Test.A"),
207
var methodSymbol = CreateDocumentSymbol(LSP.SymbolKind.
Method
, "M", "M()", testLspServer.GetLocations("method").Single(), testLspServer.GetLocations("methodSelection").Single(), classSymbol);
208
var localFunctionSymbol = CreateDocumentSymbol(LSP.SymbolKind.
Method
, "LocalFunction", "LocalFunction()", testLspServer.GetLocations("localFunction").Single(), testLspServer.GetLocations("localFunctionSelection").Single(), methodSymbol);
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"))