1 write to PropertyType
Microsoft.Build.Framework (1)
TaskPropertyInfo.cs (1)
27PropertyType = typeOfParameter;
18 references to PropertyType
Microsoft.Build (5)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (4)
536parameter.PropertyType.FullName, 882Array convertibleOutputs = parameter.PropertyType.IsArray ? (Array)outputs : new[] { outputs }; 1138parameter.PropertyType.AssemblyQualifiedName); 1145parameterType = Type.GetType(parameter.PropertyType.AssemblyQualifiedName);
Instance\TaskRegistry.cs (1)
1854propertyTypeName = taskPropertyInfo.PropertyType.AssemblyQualifiedName;
Microsoft.Build.Engine.UnitTests (8)
BackEnd\TaskRegistry_Tests.cs (6)
1219Assert.Equal(typeof(System.String), parameterInfo.PropertyType); 1226Assert.Equal(typeof(Int32), parameterInfo.PropertyType); 1241Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", TaskHostParameters.Empty)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(typeof(String))); 1256Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", TaskHostParameters.Empty)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(typeof(String))); 1597parameterInfo.PropertyType, 1992Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", TaskHostParameters.Empty)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(paramType));
TestComparers\TaskRegistryComparers.cs (2)
105Assert.Equal(x.PropertyType.FullName, y.PropertyType.FullName);
Microsoft.Build.Framework (4)
IGeneratedTask.cs (2)
19/// <param name="value">The value to set. The caller is responsible to type-coerce this value to match the property's <see cref="TaskPropertyInfo.PropertyType"/>.</param> 31/// The value of the property, the value's type will match the type given by <see cref="TaskPropertyInfo.PropertyType"/>.
Loader\LoadedType.cs (1)
154PropertyAssemblyQualifiedNames[i] = Properties[i]?.PropertyType?.AssemblyQualifiedName ?? string.Empty;
ReflectableTaskPropertyInfo.cs (1)
34: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.Required)
Microsoft.Build.Tasks.Core (1)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
247CreateProperty(codeTypeDeclaration, propertyInfo.Name, propertyInfo.PropertyType, null, propertyInfo.Output, propertyInfo.Required);