7 references to TextDocument
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\Diagnostics\AbstractDocumentPullDiagnosticHandler.cs (1)
39
var textDocument = context.
TextDocument
;
Handler\RequestContext.cs (6)
107
if (this.
TextDocument
is null)
112
if (this.
TextDocument
is Document document)
223
return
TextDocument
is null
224
? throw new ArgumentNullException($"{nameof(
TextDocument
)} is null when it was required for {Method}")
225
:
TextDocument
;
331
if (
TextDocument
is not TDocument document)