3 writes to Name
Microsoft.Build.Tasks.Core (3)
XamlTaskFactory\Property.cs (1)
218
Name
= Name,
XamlTaskFactory\TaskParser.cs (2)
312
propertyToAdd.
Name
= "AlwaysAppend";
441
parameter.
Name
= baseProperty.Name;
30 references to Name
Microsoft.Build.Tasks.Core (30)
XamlTaskFactory\CommandLineGenerator.cs (2)
53
if (parameterValues.TryGetValue(property.
Name
, out object value))
164
_activeCommandLineToolSwitches[property.
Name
] = switchToAdd;
XamlTaskFactory\Property.cs (1)
218
Name =
Name
,
XamlTaskFactory\TaskGenerator.cs (21)
350
if (String.Equals(property.
Name
, propertyToIgnore, StringComparison.OrdinalIgnoreCase))
445
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
))),
451
removeExisting.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(property.
Name
), new CodeSnippetExpression(property.DefaultValue)));
455
removeExisting.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(property.
Name
), new CodeSnippetExpression(SurroundWithQuotes(property.DefaultValue))));
514
if (!String.Equals(property.
Name
, ImportType, StringComparison.OrdinalIgnoreCase))
524
Name = property.
Name
,
547
_taskParser.FallbackSet.Add(property.
Name
, property.Fallback);
571
LogError("ImproperType", property.
Name
, property.Type);
578
if (!dependentProperty.Parents.Contains(property.
Name
))
580
dependentProperty.Parents.AddLast(property.
Name
);
651
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)))
653
isSet.TrueStatements.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression(new CodeArrayIndexerExpression(new CodeVariableReferenceExpression(DictionaryOfSwitches), new CodeVariableReferenceExpression(SurroundWithQuotes(property.
Name
))), valueName)));
709
string commentContent = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("PropertyNameDescription", property.
Name
);
748
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)));
765
string name = property.SwitchName != String.Empty ? property.Prefix + property.SwitchName : property.
Name
;
794
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)));
814
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)));
865
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)),
915
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)));
926
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)));
1060
new CodeSnippetExpression(SurroundWithQuotes(property.
Name
)));
XamlTaskFactory\TaskParser.cs (6)
310
if (String.IsNullOrEmpty(propertyToAdd.
Name
))
316
if (!_switchOrderList.Contains(propertyToAdd.
Name
))
318
_switchOrderList.Add(propertyToAdd.
Name
);
322
throw new XamlParseException(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("Xaml.DuplicatePropertyName", propertyToAdd.
Name
));
403
if (argumentDependencyLookup?.ContainsKey(propertyToAdd.
Name
) == false)
405
argumentDependencyLookup.Add(propertyToAdd.
Name
, propertyToAdd);