9 writes to List
Microsoft.Build.Tasks.UnitTests (9)
FindInList_Tests.cs (9)
23
f.
List
= new ITaskItem[] { new TaskItem("A.CS"), new TaskItem("b.cs") };
35
f.
List
= new ITaskItem[] { new TaskItem("A.CS"), new TaskItem("a.cs") };
47
f.
List
= new ITaskItem[] { new TaskItem("A.CS"), new TaskItem("b.cs") };
62
f.
List
= new ITaskItem[] { item1, item2 };
82
f.
List
= new ITaskItem[] { item1, item2 };
95
f.
List
= Array.Empty<ITaskItem>();
106
f.
List
= new ITaskItem[] { new TaskItem("foo\a.cs"), new TaskItem("b.cs") };
118
f.
List
= new ITaskItem[] { new TaskItem(@"c:\foo\a.cs"), new TaskItem("b.cs") };
131
f.
List
= new ITaskItem[] { new TaskItem(@"!@#$@$%|"), new TaskItem(@"foo\a.cs"), new TaskItem("b.cs") };
4 references to List
Microsoft.Build.Tasks.Core (4)
FindInList.cs (4)
30
ErrorUtilities.VerifyThrowArgumentNull(_list, nameof(
List
));
75
foreach (ITaskItem item in
List
)
86
for (int i =
List
.Length - 1; i >= 0; i--)
88
if (IsMatchingItem(comparison,
List
[i]))