14 references to GetRequiredDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Handler\Breakpoints\ValidateBreakableRangeHandler.cs (1)
37
var document = context.
GetRequiredDocument
();
Handler\CodeActions\CodeActionFixAllResolveHandler.cs (1)
42
var document = context.
GetRequiredDocument
();
Handler\CodeLens\CodeLensHandler.cs (1)
47
var document = context.
GetRequiredDocument
();
Handler\CodeLens\CodeLensResolveHandler.cs (1)
39
var document = context.
GetRequiredDocument
();
Handler\Completion\CompletionResolveHandler.cs (1)
58
var document = context.
GetRequiredDocument
();
Handler\Hover\HoverHandler.cs (1)
44
var document = context.
GetRequiredDocument
();
Handler\InlayHint\InlayHintHandler.cs (1)
43
var document = context.
GetRequiredDocument
();
Handler\InlayHint\InlayHintResolveHandler.cs (1)
35
var document = context.
GetRequiredDocument
();
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
104
var document = context.
GetRequiredDocument
();
Handler\References\FindImplementationsHandler.cs (1)
39
var 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)
39
var contextDocument = context.
GetRequiredDocument
();
Handler\Symbols\DocumentSymbolsHandler.cs (1)
44
var document = context.
GetRequiredDocument
();