5 writes to Files
Microsoft.Build.Tasks.UnitTests (5)
AssignTargetPath_Tests.cs (5)
23t.Files = new ITaskItem[] 38t.Files = new ITaskItem[] 52t.Files = new ITaskItem[] 73t.Files = new ITaskItem[] 98t.Files = new ITaskItem[]
11 references to Files
Microsoft.Build.Tasks.Core (11)
AssignTargetPath.cs (11)
48AssignedFiles = new ITaskItem[Files.Length]; 50if (Files.Length > 0) 74for (int i = 0; i < Files.Length; ++i) 76AssignedFiles[i] = new TaskItem(Files[i]); 80string targetPath = Files[i].GetMetadata(ItemMetadataNames.targetPath); 85targetPath = Files[i].GetMetadata(ItemMetadataNames.link); 91!Path.IsPathRooted(Files[i].ItemSpec) && 93!Files[i].ItemSpec.Contains("." + Path.DirectorySeparatorChar) && 101targetPath = Files[i].ItemSpec; 107string itemSpecFullFileNamePath = Path.GetFullPath(Files[i].ItemSpec); 117targetPath = Path.GetFileName(Files[i].ItemSpec);