1 write to Result
Microsoft.Build.Tasks.Core (1)
XmlPeek.cs (1)
149Result = new ITaskItem[peekValues.Count];
17 references to Result
Microsoft.Build.Tasks.Core (2)
XmlPeek.cs (2)
153Result[i++] = new TaskItem(item); 159if (Result.Length == 0)
Microsoft.Build.Tasks.UnitTests (15)
XmlPeek_Tests.cs (15)
68Assert.Equal(3, p.Result.Length); // "result Length should be 3" 70for (int i = 0; i < p.Result.Length; i++) 72Assert.Equal(p.Result[i].ItemSpec, results[i]); 91Assert.Equal(3, p.Result.Length); // "result Length should be 3" 99for (int i = 0; i < p.Result.Length; i++) 101Assert.Equal(p.Result[i].ItemSpec, results[i]); 120Assert.Equal(3, p.Result.Length); // "result Length should be 3" 128for (int i = 0; i < p.Result.Length; i++) 130Assert.Equal(p.Result[i].ItemSpec, results[i]); 148Assert.Equal(3, p.Result.Length); // "result Length should be 3" 150for (int i = 0; i < p.Result.Length; i++) 152Assert.Equal(p.Result[i].ItemSpec, results[i]); 168Assert.Equal(3, p.Result.Length); // "result Length should be 3" 170for (int i = 0; i < p.Result.Length; i++) 172Assert.Equal(p.Result[i].ItemSpec, results[i]);