20 writes to Lines
Microsoft.Build.Tasks.UnitTests (20)
ReadLinesFromFile_Tests.cs (6)
35
Lines
= new ITaskItem[] { new TaskItem("Line1") }
50
a.
Lines
= new ITaskItem[] { new TaskItem("Line2"), new TaskItem("Line3") };
82
Lines
= new ITaskItem[] { new TaskItem("Line1_%253b_") }
97
a.
Lines
= new ITaskItem[] { new TaskItem("Line2"), new TaskItem("Line3") };
127
Lines
= new ITaskItem[] { new TaskItem("My special character is \u00C3") }
179
Lines
= new ITaskItem[]
WriteLinesToFile_Tests.cs (14)
38
Lines
= new TaskItem[] { new TaskItem("x") }
60
Lines
= new ITaskItem[] { new TaskItem("\uBDEA") }
79
Lines
= new ITaskItem[] { new TaskItem("\uBDEA") },
112
Lines
= new ITaskItem[] { new TaskItem("File contents1") }
133
Lines
= new ITaskItem[] { new TaskItem("File contents1") }
145
Lines
= new ITaskItem[] { new TaskItem("File contents2") }
170
Lines
= new ITaskItem[] { new TaskItem($"{nameof(RedundantParametersAreLogged)} Test") },
195
Lines
= new ITaskItem[] { new TaskItem("File contents1") }
216
Lines
= new ITaskItem[] { new TaskItem("File contents1") },
229
Lines
= new ITaskItem[] { new TaskItem("File contents2") },
286
Lines
= Array.Empty<ITaskItem>(), // Test empty.
307
Lines
= new ITaskItem[] { new TaskItem("WriteLinesToFileDoesCreateDirectory Test") }
338
Lines
= lines
364
Lines
= lines
2 references to Lines
Microsoft.Build.Tasks.Core (2)
FileIO\WriteLinesToFile.cs (2)
75
if (
Lines
!= null)
77
foreach (ITaskItem line in
Lines
)