1 write to PropertyType
Microsoft.Build.Framework (1)
TaskPropertyInfo.cs (1)
27PropertyType = typeOfParameter;
23 references to PropertyType
Microsoft.Build (7)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (4)
475parameter.PropertyType.FullName, 820Array convertibleOutputs = parameter.PropertyType.IsArray ? (Array)outputs : new[] { outputs }; 1040parameter.PropertyType.AssemblyQualifiedName); 1047parameterType = Type.GetType(parameter.PropertyType.AssemblyQualifiedName);
Instance\ReflectableTaskPropertyInfo.cs (1)
35: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.Required)
Instance\TaskRegistry.cs (1)
1792propertyTypeName = taskPropertyInfo.PropertyType.AssemblyQualifiedName;
LoadedType.cs (1)
106PropertyAssemblyQualifiedNames[i] = Properties[i].PropertyType.AssemblyQualifiedName;
Microsoft.Build.Engine.UnitTests (8)
BackEnd\TaskRegistry_Tests.cs (6)
1329Assert.Equal(typeof(System.String), parameterInfo.PropertyType); 1336Assert.Equal(typeof(Int32), parameterInfo.PropertyType); 1351Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(typeof(String))); 1366Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(typeof(String))); 1707parameterInfo.PropertyType, 2128Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(paramType));
TestComparers\TaskRegistryComparers.cs (2)
105Assert.Equal(x.PropertyType.FullName, y.PropertyType.FullName);
Microsoft.Build.Framework (2)
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"/>.
Microsoft.Build.Tasks.Core (1)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
223CreateProperty(codeTypeDeclaration, propertyInfo.Name, propertyInfo.PropertyType);
MonoTargetsTasks (3)
JsonToItemsTaskFactory\JsonToItemsTaskFactory.cs (3)
117if (typeof(ITaskItem[]).IsAssignableFrom(propInfo.PropertyType)) 119if (typeof(string).IsAssignableFrom(propInfo.PropertyType)) 259if (typeof(ITaskItem[]).IsAssignableFrom(property.PropertyType))
MSBuild (2)
LoadedType.cs (1)
106PropertyAssemblyQualifiedNames[i] = Properties[i].PropertyType.AssemblyQualifiedName;
ReflectableTaskPropertyInfo.cs (1)
35: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.Required)