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