1 write to _parametersSetOnTask
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1290_parametersSetOnTask = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
21 references to _parametersSetOnTask
Microsoft.Build.Engine.UnitTests (21)
BackEnd\TaskExecutionHost_Tests.cs (21)
147Assert.Single(_parametersSetOnTask); 148Assert.True(_parametersSetOnTask.ContainsKey("ExecuteReturnParam")); 340Assert.True(_parametersSetOnTask.ContainsKey("IntArrayParam")); 342Assert.Equal(1, ((int[])_parametersSetOnTask["IntArrayParam"])[0]); 343Assert.Equal(0, ((int[])_parametersSetOnTask["IntArrayParam"])[1]); 1137_parametersSetOnTask[parameterName] = valueSet; 1367Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1368Assert.Equal(expectedValue, _parametersSetOnTask[parameterName]); 1378Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1380ITaskItem actualItem = _parametersSetOnTask[parameterName] as ITaskItem; 1392Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1394ITaskItem actualItem = _parametersSetOnTask[parameterName] as ITaskItem; 1405Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1407ITaskItem[] actualItems = _parametersSetOnTask[parameterName] as ITaskItem[]; 1419Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1421ITaskItem[] actualItems = _parametersSetOnTask[parameterName] as ITaskItem[]; 1437Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1439ITaskItem[] actualItems = _parametersSetOnTask[parameterName] as ITaskItem[]; 1455Assert.True(_parametersSetOnTask.ContainsKey(parameterName)); 1458Array actualArray = _parametersSetOnTask[parameterName] as Array; 1473Assert.False(_parametersSetOnTask.ContainsKey(parameterName));