1 write to Result
Microsoft.Build.Tasks.Core (1)
XmlPeek.cs (1)
149Result = new ITaskItem[peekValues.Count];
19 references to Result
Microsoft.Build.Tasks.Core (2)
XmlPeek.cs (2)
153Result[i++] = new TaskItem(EscapingUtilities.Escape(item)); 159if (Result.Length == 0)
Microsoft.Build.Tasks.UnitTests (17)
XmlPeek_Tests.cs (17)
77Assert.Equal(3, p.Result.Length); // "result Length should be 3" 79for (int i = 0; i < p.Result.Length; i++) 81Assert.Equal(p.Result[i].ItemSpec, results[i]); 100Assert.Equal(3, p.Result.Length); // "result Length should be 3" 108for (int i = 0; i < p.Result.Length; i++) 110Assert.Equal(p.Result[i].ItemSpec, results[i]); 129Assert.Equal(3, p.Result.Length); // "result Length should be 3" 137for (int i = 0; i < p.Result.Length; i++) 139Assert.Equal(p.Result[i].ItemSpec, results[i]); 157Assert.Equal(3, p.Result.Length); // "result Length should be 3" 159for (int i = 0; i < p.Result.Length; i++) 161Assert.Equal(p.Result[i].ItemSpec, results[i]); 177Assert.Equal(3, p.Result.Length); // "result Length should be 3" 179for (int i = 0; i < p.Result.Length; i++) 181Assert.Equal(p.Result[i].ItemSpec, results[i]); 358Assert.Equal(["abcdefg", "a$(d)fg", "a$(d.f)"], p.Result.Select(x => x.ItemSpec)); 359Assert.Equal(["abcdefg", "a%24%28d%29fg", "a%24%28d.f%29"], p.Result.Cast<TaskItem>().Select(x => x.ToString()));