5 writes to OldDocumentUri
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
316
textDocumentEdits.Add(new RenameFile() {
OldDocumentUri
= oldTextDoc.GetURI(), NewDocumentUri = newTextDoc.GetUriForRenamedDocument() });
Protocol\RenameFile.cs (1)
45
set =>
OldDocumentUri
= new DocumentUri(value);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
CodeActions\CodeActionResolveTests.cs (1)
552
locations => new SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>(new RenameFile() {
OldDocumentUri
= locations.oldUri, NewDocumentUri = locations.newUri })).ToArray()
Rename\WillRenameTests.cs (2)
102
new RenameFile() {
OldDocumentUri
= new("file://file2.cs") }
107
listeners[1].Result = new WorkspaceEdit() { DocumentChanges = new SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>[] { new RenameFile() {
OldDocumentUri
= new("file://file2.cs") } } };
1 reference to OldDocumentUri
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\RenameFile.cs (1)
44
get =>
OldDocumentUri
.GetRequiredParsedUri();