1 write to Required
Microsoft.Build.Framework (1)
TaskPropertyInfo.cs (1)
29
Required
= required;
11 references to Required
Microsoft.Build (3)
Instance\ReflectableTaskPropertyInfo.cs (1)
35
: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.
Required
)
Instance\TaskFactoryWrapper.cs (1)
303
if (propertyInfos[i].
Required
)
Instance\TaskRegistry.cs (1)
1794
required = taskPropertyInfo.
Required
;
Microsoft.Build.Engine.UnitTests (7)
BackEnd\TaskRegistry_Tests.cs (5)
1328
Assert.False(parameterInfo.
Required
);
1335
Assert.True(parameterInfo.
Required
);
1623
Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"]).
Required
);
1638
Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"]).
Required
);
1705
Assert.Equal(parameterInfo.
Required
, bool.Parse(expandedRequired));
TestComparers\TaskRegistryComparers.cs (2)
104
Assert.Equal(x.
Required
, y.
Required
);
MSBuild (1)
ReflectableTaskPropertyInfo.cs (1)
35
: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.
Required
)