Definition\DefinitionEditing_Tests.cs (35)
167Assert.Equal("i1", Helpers.GetFirst(project.GetItems("i")).EvaluatedInclude);
194Assert.Equal("i(1)", Helpers.GetFirst(project.GetItems("i")).EvaluatedInclude);
271Assert.Equal("$(p)", Helpers.GetFirst(project.Items).UnevaluatedInclude);
272Assert.Equal("v1", Helpers.GetFirst(project.Items).EvaluatedInclude);
677Helpers.GetFirst(project.GetItems("i")).SetMetadataValue("n", "n1");
722Helpers.GetFirst(project.GetItems("i")).SetMetadataValue("m", "m2");
762ProjectMetadata metadatum = Helpers.GetFirst(project.GetItems("i")).GetMetadata("m");
798Helpers.GetFirst(project.GetItems("i")).RemoveMetadata("m");
888ProjectItem item = Helpers.GetFirst(project.Items);
898ProjectItemElement newItemElement = Helpers.GetFirst((Helpers.GetFirst(project.Xml.ItemGroups)).Items);
1002ProjectItem item = Helpers.GetFirst(project.GetItems("i"));
1102ProjectItem item = Helpers.GetFirst(project.Items);
1144ProjectItem item = Helpers.GetFirst(project.Items);
1174ProjectItem item = Helpers.GetFirst(project.GetItems("i"));
1188ProjectItemGroupElement itemGroupElement = Helpers.GetFirst(project.Xml.ItemGroups);
1198Assert.True(object.ReferenceEquals(item, Helpers.GetFirst(project.GetItems("j"))));
1199Assert.True(object.ReferenceEquals(item, Helpers.GetFirst(project.GetItemsIgnoringCondition("j"))));
1200Assert.True(object.ReferenceEquals(item, Helpers.GetFirst(project.GetItemsByEvaluatedInclude("i1"))));
1218ProjectItem item = Helpers.GetFirst(project.GetItems("i"));
1236ProjectItemElement itemElement = Helpers.GetFirst(Helpers.GetFirst(project.Xml.ItemGroups).Items);
1269ProjectItem item = Helpers.GetFirst(project.GetItems("i"));
1282ProjectItemGroupElement itemGroupElement = Helpers.GetFirst(project.Xml.ItemGroups);
1285Assert.True(object.ReferenceEquals(itemGroupElement, Helpers.GetFirst(project.GetItems("i")).Xml.Parent));
1306project.RemoveItem(Helpers.GetFirst(project.GetItems("i")));
1337project.RemoveItem(Helpers.GetFirst(project.GetItems("i")));
1365project.RemoveItem(Helpers.GetFirst(project.GetItems("i")));
1398ProjectItem item = Helpers.GetFirst(project.Items);
2011ProjectItem item = Helpers.GetFirst(project.Items);
2032item = Helpers.GetFirst(project.Items);
2091Assert.Equal("i1", Helpers.GetFirst(project.GetItems("i")).EvaluatedInclude);
2118Assert.Equal("i(1)", Helpers.GetFirst(project.GetItems("i")).EvaluatedInclude);
2195Assert.Equal("$(p)", Helpers.GetFirst(project.Items).UnevaluatedInclude);
2196Assert.Equal("v1", Helpers.GetFirst(project.Items).EvaluatedInclude);