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