public static DeclarationAnnotation GetMethodDeclarationInfo(SyntaxNode node, IMethodSymbol symbol) { var span = CodeGraphHelper.GetSpan(node); var result = new DeclarationAnnotation() { symbolId = CodeGraphHelper.GetSymbolId(symbol), symbolType = SymbolType.Method, label = symbol.Name, hover = symbol.ToDisplayString(), refType = "decl", glyph = "72", range = CodeGraphHelper.GetRange(span) }; return(result); }
private static void ProcessDeclarationAnnotation(DeclarationAnnotation declaration) { ProcessAnnotation(declaration); }