12 writes to Include
Microsoft.Build.Tasks.Core (3)
CreateItem.cs (3)
59Include = Array.Empty<ITaskItem>(); 64(Include, bool expandedInclude) = TryExpandWildcards(Include, XMakeAttributes.include); 92Include = outputItems.ToArray();
Microsoft.Build.Tasks.UnitTests (9)
CreateItem_Tests.cs (9)
58t.Include = new ITaskItem[] { new TaskItem("MyFile.txt") }; 76t.Include = new ITaskItem[] { new TaskItem("MyFile.txt") }; 95t.Include = new ITaskItem[] { new TaskItem("MyFile.txt") }; 147t.Include = new ITaskItem[] { new TaskItem("MyFile.txt") }; 230t.Include = new ITaskItem[] { new TaskItem("MyFile.txt") }; 251t.Include = new ITaskItem[] { item }; 274t.Include = new ITaskItem[] { item }; 306Include = new ITaskItem[] { new TaskItem(itemSpec) }, 358Include = new ITaskItem[] { new TaskItem(itemSpec) },
15 references to Include
Microsoft.Build.Tasks.Core (3)
CreateItem.cs (3)
57if (Include == null) 64(Include, bool expandedInclude) = TryExpandWildcards(Include, XMakeAttributes.include); 104foreach (ITaskItem i in Include)
Microsoft.Build.Tasks.UnitTests (12)
CreateItem_Tests.cs (12)
64Assert.Empty(t.Include); 82Assert.Single(t.Include); 83Assert.Equal("MyFile.txt", t.Include[0].ItemSpec); 100Assert.Single(t.Include); 101Assert.Equal(t.Include[0].ItemSpec, t.Include[0].ItemSpec); 119Assert.Empty(t.Include); 134Assert.Empty(t.Include); 153Assert.Empty(t.Include); 236Assert.Equal("SomeValue", t.Include[0].GetMetadata("MyMetaData")); 259Assert.Equal("SomePreserveMeValue", t.Include[0].GetMetadata("MyMetaData")); 284Assert.Equal("SomeOverwriteValue", t.Include[0].GetMetadata("MyMetaData"));