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