Exemplo n.º 1
0
 public SignatureHelp?Process()
 {
     if (!symbolGuesser.TryGetSymbolBefore(document, GetOpenParenthesePosition(), cancellationToken, out var symbol))
     {
         return(null);
     }
     return(CreateSignatureHelp(symbol));
 }
            public SignatureHelp Process()
            {
                ISymbol?symbol;

                if (!_symbolGuesser.TryGetSymbolBefore(_document, GetOpenParenthesePosition(), _cancellationToken, out symbol))
                {
                    return(new SignatureHelp());
                }
                return(CreateSignatureHelp(symbol));
            }