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