14 references to GetRequiredDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Handler\Breakpoints\ValidateBreakableRangeHandler.cs (1)
37var document = context.GetRequiredDocument();
Handler\CodeActions\CodeActionFixAllResolveHandler.cs (1)
42var document = context.GetRequiredDocument();
Handler\CodeLens\CodeLensHandler.cs (1)
47var document = context.GetRequiredDocument();
Handler\CodeLens\CodeLensResolveHandler.cs (1)
39var document = context.GetRequiredDocument();
Handler\Completion\CompletionResolveHandler.cs (1)
58var document = context.GetRequiredDocument();
Handler\Hover\HoverHandler.cs (1)
44var document = context.GetRequiredDocument();
Handler\InlayHint\InlayHintHandler.cs (1)
43var document = context.GetRequiredDocument();
Handler\InlayHint\InlayHintResolveHandler.cs (1)
35var document = context.GetRequiredDocument();
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
104var document = context.GetRequiredDocument();
Handler\References\FindImplementationsHandler.cs (1)
39var document = context.GetRequiredDocument();
Handler\Rename\PrepareRenameHandler.cs (1)
29=> GetRenameRangeAsync(context.GetRequiredDocument(), ProtocolConversions.PositionToLinePosition(request.Position), cancellationToken);
Handler\Rename\RenameHandler.cs (1)
32=> GetRenameEditAsync(context.GetRequiredDocument(), ProtocolConversions.PositionToLinePosition(request.Position), request.NewName, cancellationToken);
Handler\SemanticTokens\SemanticTokensHelpers.cs (1)
39var contextDocument = context.GetRequiredDocument();
Handler\Symbols\DocumentSymbolsHandler.cs (1)
44var document = context.GetRequiredDocument();