8 writes to Required
Microsoft.Build (1)
Construction\ProjectUsingTaskParameterElement.cs (1)
180
Required
= required,
Microsoft.Build.Engine.OM.UnitTests (6)
Construction\ConstructionEditing_Tests.cs (2)
2687
element.
Required
= "r2";
2990
element.
Required
= "r2";
Construction\UsingTaskParameterElement_Tests.cs (3)
133
parameter.
Required
= "required";
175
parameter.
Required
= String.Empty;
217
parameter.
Required
= null;
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
566
paraElement.VerifySetter("newRequired", (pe) => pe.Required, (pe, v) => pe.
Required
= v);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskRegistry_Tests.cs (1)
1676
filledOutAttributesParameter.
Required
= "@(ItemWithTrueItem)";
12 references to Required
Microsoft.Build (3)
Construction\ProjectUsingTaskParameterElement.cs (1)
199
return owner.CreateUsingTaskParameterElement(Name, Output,
Required
, ParameterType);
Instance\TaskRegistry.cs (2)
1748
string expandedRequired = expander.ExpandIntoStringLeaveEscaped(parameter.
Required
, expanderOptions, parameter.RequiredLocation);
1756
parameter.
Required
,
Microsoft.Build.Engine.OM.UnitTests (8)
Construction\UsingTaskParameterElement_Tests.cs (5)
57
Assert.Equal("false", parameter.
Required
);
71
Assert.Equal(bool.FalseString, parameter.
Required
);
134
Assert.Equal("required", parameter.
Required
);
176
Assert.Equal(bool.FalseString, parameter.
Required
);
218
Assert.Equal(bool.FalseString, parameter.
Required
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
743
Assert.Equal(realXml.
Required
, viewXml.
Required
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
566
paraElement.VerifySetter("newRequired", (pe) => pe.
Required
, (pe, v) => pe.Required = v);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskRegistry_Tests.cs (1)
1698
string expandedRequired = RegistryExpander.ExpandIntoStringAndUnescape(filledOutAttributesParameter.
Required
, ExpanderOptions.ExpandPropertiesAndItems, filledOutAttributesParameter.RequiredLocation);