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)
196
Rename
(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)
862
item.
Rename
("i1.xxx");
890
item.
Rename
("$(p)");
918
item.
Rename
("@(h)");
946
item.
Rename
("@(h)");
976
item.
Rename
("@(h)");
1003
item.
Rename
("h1b");
1035
item.
Rename
("i2b");
1064
item.
Rename
("$(p)");
1103
item.
Rename
("i1.yyy");
1145
item.
Rename
(Path.Combine(directory, "i2.xxx"));
1160
AssertDisabledItemSplitting(projectContents, itemIndex, setupProject, (p, i) => { i.
Rename
("foo"); });
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
99
item.
Rename
("Z");
Definition\ProjectItem_Tests.cs (3)
1970
item.
Rename
("i2");
2002
projectItem.
Rename
(Path.GetFileName(renamedSourceFile));
2069
item.
Rename
("i2");
Definition\ProtectImports_Tests.cs (2)
203
item.
Rename
("NewItemName");
259
item.
Rename
(NewValue);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (2)
287
fooView.
Rename
("fooRenamedOnceMore.cpp");
291
fooReal.
Rename
("fooRenamedLastTimeForSure.cpp");
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (1)
34
public void Rename(string name) => this.Source.
Rename
(name);
Microsoft.Build.Engine.UnitTests (1)
EscapingInProjects_Tests.cs (1)
1833
matchingItems[i].
Rename
(newEvaluatedInclude);