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