19 references to GetURI
Microsoft.CodeAnalysis.LanguageServer.Protocol (19)
Extensions\ProtocolConversions.cs (4)
287
=> new() { Uri = document.
GetURI
() };
290
=> new() { Uri = document.
GetURI
() };
410
uriToTextEdits.Add((oldDocument.
GetURI
(), TextChangeToTextEdit(textChange, oldText)));
495
var uri = document.
GetURI
();
Handler\CodeActions\CodeActionResolveHelper.cs (4)
212
textDocumentEdits.Add(new DeleteFile { Uri = oldTextDoc.
GetURI
() });
231
uri = newTextDoc.
GetURI
();
293
var documentIdentifier = new OptionalVersionedTextDocumentIdentifier { Uri = newTextDoc.
GetURI
() };
304
textDocumentEdits.Add(new RenameFile() { OldUri = oldTextDoc.
GetURI
(), NewUri = newTextDoc.GetUriForRenamedDocument() });
Handler\Diagnostics\AbstractDocumentPullDiagnosticHandler.cs (2)
46
if (!context.IsTracking(textDocument.
GetURI
()))
48
context.TraceWarning($"Ignoring diagnostics request for untracked document: {textDocument.
GetURI
()}");
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDiagnosticSourceHelpers.cs (2)
46
if (context.IsTracking(document.
GetURI
()))
48
context.TraceInformation($"Skipping tracked document: {document.
GetURI
()}");
Handler\RequestContext.cs (2)
337
if (!IsTracking(document.
GetURI
()))
339
TraceWarning($"Ignoring diagnostics request for untracked document: {document.
GetURI
()}");
Handler\SpellCheck\DocumentSpellCheckHandler.cs (2)
54
if (!context.IsTracking(context.Document.
GetURI
()))
56
context.TraceInformation($"Ignoring spell check request for untracked document: {context.Document.
GetURI
()}");
Handler\SpellCheck\WorkspaceSpellCheckHandler.cs (2)
80
if (context.IsTracking(document.
GetURI
()))
82
context.TraceInformation($"Skipping tracked document: {document.
GetURI
()}");
Handler\Symbols\DocumentSymbolsHandler.cs (1)
98
Uri = document.
GetURI
(),