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