16 references to AddParameter
Microsoft.Build (1)
Construction\UsingTaskParameterGroupElement.cs (1)
93
return
AddParameter
(name, String.Empty, String.Empty, String.Empty);
Microsoft.Build.Engine.OM.UnitTests (9)
Construction\ConstructionEditing_Tests.cs (8)
2659
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
2672
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
2685
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
2698
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
2962
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
2975
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
2988
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
3001
var element = usingTask.AddParameterGroup().
AddParameter
("n", "o", "r", "pt");
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
546
taskParamGroup.Add2NewNamedChildrenWithVerify<ProjectUsingTaskParameterElement>("paraY", (tpg, n) => tpg.
AddParameter
(n, "output", "required", "type"), out var paraY1, out var paraY2);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TaskRegistry_Tests.cs (5)
1304
ProjectUsingTaskParameterElement filledOutAttributesParameter = parameterGroup.
AddParameter
("ParameterWithAllAttributesHardCoded", bool.TrueString, bool.TrueString, typeof(Int32).FullName);
1927
parameterGroup.
AddParameter
("n1", "false", "true", typeof(string).FullName);
1944
parameterGroup.
AddParameter
("n2", "true", "false", typeof(bool).FullName);
1962
parameterGroup.
AddParameter
("n3", "false", "true", typeof(int).FullName);
2144
ProjectUsingTaskParameterElement filledOutAttributesParameter = parameterGroup.
AddParameter
("ParameterWithAllAttributesHardCoded", output, required, type);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TargetTests.cs (1)
964
taskParams.
AddParameter
(kvp.Key, string.Empty, string.Empty, kvp.Value);