27 references to Rename
Microsoft.Build (6)
Definition\Project.cs (4)
93/// - <see cref="ProjectItem.Rename"/> 1713/// Outside this class called ONLY from <see cref="ProjectItem.Rename(string)"/>ProjectItem.Rename(string name). 1984/// - <see cref="ProjectItem.Rename"/> 3434/// Outside this class called ONLY from <see cref="ProjectItem.Rename(string)"/>ProjectItem.Rename(string name).
Definition\ProjectItem.cs (1)
196Rename(value);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectItemLink.cs (1)
69/// Facilitate remoting the <see cref="ProjectItem.Rename"/>.
Microsoft.Build.Engine.OM.UnitTests (20)
Definition\DefinitionEditing_Tests.cs (11)
862item.Rename("i1.xxx"); 890item.Rename("$(p)"); 918item.Rename("@(h)"); 946item.Rename("@(h)"); 976item.Rename("@(h)"); 1003item.Rename("h1b"); 1035item.Rename("i2b"); 1064item.Rename("$(p)"); 1103item.Rename("i1.yyy"); 1145item.Rename(Path.Combine(directory, "i2.xxx")); 1160AssertDisabledItemSplitting(projectContents, itemIndex, setupProject, (p, i) => { i.Rename("foo"); });
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
99item.Rename("Z");
Definition\ProjectItem_Tests.cs (3)
1970item.Rename("i2"); 2002projectItem.Rename(Path.GetFileName(renamedSourceFile)); 2069item.Rename("i2");
Definition\ProtectImports_Tests.cs (2)
203item.Rename("NewItemName"); 259item.Rename(NewValue);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (2)
287fooView.Rename("fooRenamedOnceMore.cpp"); 291fooReal.Rename("fooRenamedLastTimeForSure.cpp");
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (1)
34public void Rename(string name) => this.Source.Rename(name);
Microsoft.Build.Engine.UnitTests (1)
EscapingInProjects_Tests.cs (1)
1833matchingItems[i].Rename(newEvaluatedInclude);