1 write to PropertyType
Microsoft.Build.Framework (1)
TaskPropertyInfo.cs (1)
27
PropertyType
= typeOfParameter;
18 references to PropertyType
Microsoft.Build (5)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (4)
536
parameter.
PropertyType
.FullName,
882
Array convertibleOutputs = parameter.
PropertyType
.IsArray ? (Array)outputs : new[] { outputs };
1138
parameter.
PropertyType
.AssemblyQualifiedName);
1145
parameterType = Type.GetType(parameter.
PropertyType
.AssemblyQualifiedName);
Instance\TaskRegistry.cs (1)
1854
propertyTypeName = taskPropertyInfo.
PropertyType
.AssemblyQualifiedName;
Microsoft.Build.Engine.UnitTests (8)
BackEnd\TaskRegistry_Tests.cs (6)
1219
Assert.Equal(typeof(System.String), parameterInfo.
PropertyType
);
1226
Assert.Equal(typeof(Int32), parameterInfo.
PropertyType
);
1241
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", TaskHostParameters.Empty)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].
PropertyType
.Equals(typeof(String)));
1256
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", TaskHostParameters.Empty)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].
PropertyType
.Equals(typeof(String)));
1597
parameterInfo.
PropertyType
,
1992
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", TaskHostParameters.Empty)][0].ParameterGroupAndTaskBody.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].
PropertyType
.Equals(paramType));
TestComparers\TaskRegistryComparers.cs (2)
105
Assert.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)
154
PropertyAssemblyQualifiedNames[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)
247
CreateProperty(codeTypeDeclaration, propertyInfo.Name, propertyInfo.
PropertyType
, null, propertyInfo.Output, propertyInfo.Required);