2 instantiations of RenameFile
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
316textDocumentEdits.Add(new RenameFile() { OldDocumentUri = oldTextDoc.GetURI(), NewDocumentUri = newTextDoc.GetUriForRenamedDocument() });
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
CodeActions\CodeActionResolveTests.cs (1)
552locations => new SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>(new RenameFile() { OldDocumentUri = locations.oldUri, NewDocumentUri = locations.newUri })).ToArray()
5 references to RenameFile
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
47using var _1 = ArrayBuilder<SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>>.GetInstance(out var textDocumentEdits);
Protocol\WorkspaceEdit.cs (1)
42public SumType<TextDocumentEdit[], SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>[]>? DocumentChanges { get; set; }
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
CodeActions\CodeActionResolveTests.cs (3)
306DocumentChanges = new SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>[] 437DocumentChanges = new SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>[] 552locations => new SumType<TextDocumentEdit, CreateFile, RenameFile, DeleteFile>(new RenameFile() { OldDocumentUri = locations.oldUri, NewDocumentUri = locations.newUri })).ToArray()