1 write to Name
Microsoft.Build.Framework (1)
TaskPropertyInfo.cs (1)
26Name = name;
41 references to Name
Microsoft.Build (27)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (16)
435if (prop.Name.Equals(parameterName, StringComparison.OrdinalIgnoreCase)) 455parameter.Name, 476parameter.Name, 778parameter.Name, 1020if (loadedType.Properties[i].Name.Equals(parameterName)) 1081parameter.Name, 1165parameter.Name, 1204parameter.Name, 1224string taskAndParameterName = _taskName + "_" + parameter.Name; 1311parameter.Name, 1325parameterName: parameter.Name, 1327itemType: parameter.Name, 1436parameterName: parameter.Name, 1486parameterName: parameter.Name, 1530parameterName: parameter.Name, 1573parameterName: parameter.Name,
Instance\ReflectableTaskPropertyInfo.cs (3)
35: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.Required) 80_propertyInfo = _taskType.GetProperty(Name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase); 81ErrorUtilities.VerifyThrow(_propertyInfo != null, "Could not find property {0} on type {1} that the task factory indicated should exist.", Name, _taskType.FullName);
Instance\TaskFactories\TaskHostTask.cs (3)
203_setParameters[property.Name] = value; 211if (_setParameters.TryGetValue(property.Name, out object value)) 224PropertyInfo parameter = _taskType.Type.GetProperty(property.Name, BindingFlags.Instance | BindingFlags.Public);
Instance\TaskFactoryWrapper.cs (4)
286propertyInfoCache.Add(propertyInfo.Name, propertyInfo); 300namesOfPropertiesWithAmbiguousMatches[propertyInfo.Name] = String.Empty; 311namesOfPropertiesWithRequiredAttribute[propertyInfo.Name] = String.Empty; 322namesOfPropertiesWithOutputAttribute[propertyInfo.Name] = String.Empty;
Instance\TaskRegistry.cs (1)
1791name = taskPropertyInfo.Name;
Microsoft.Build.Engine.UnitTests (9)
BackEnd\AssemblyTaskFactory_Tests.cs (2)
224if (propertyInfos[i].Name.Equals("ExpectedParameter", StringComparison.OrdinalIgnoreCase)) 229if (propertyInfos[i].Name.Equals("NotExpectedParameter", StringComparison.OrdinalIgnoreCase))
BackEnd\TaskBuilderTestTask.cs (2)
1240return GetType().GetProperty(property.Name).GetValue(this, null); 1253GetType().GetProperty(property.Name).SetValue(this, value, null);
BackEnd\TaskRegistry_Tests.cs (3)
1326Assert.Equal(parameterInfo.Name, defaultParameter.Name); 1333Assert.Equal(parameterInfo.Name, filledOutAttributesParameter.Name); 1703Assert.Equal(parameterInfo.Name, filledOutAttributesParameter.Name);
TestComparers\TaskRegistryComparers.cs (2)
102Assert.Equal(x.Name, y.Name);
Microsoft.Build.Tasks.Core (2)
CodeTaskFactory.cs (1)
417CreateProperty(codeTypeDeclaration, propInfo.Name, propInfo.PropertyType, defaultValue);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
223CreateProperty(codeTypeDeclaration, propertyInfo.Name, propertyInfo.PropertyType);
MSBuild (3)
ReflectableTaskPropertyInfo.cs (3)
35: base(taskPropertyInfo.Name, taskPropertyInfo.PropertyType, taskPropertyInfo.Output, taskPropertyInfo.Required) 80_propertyInfo = _taskType.GetProperty(Name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase); 81ErrorUtilities.VerifyThrow(_propertyInfo != null, "Could not find property {0} on type {1} that the task factory indicated should exist.", Name, _taskType.FullName);