34 references to XmlUtilities
Microsoft.Build (33)
Construction\ProjectElement.cs (1)
375ReplaceElement(XmlUtilities.RenameXmlElement(XmlElement, element.ElementName, XmlElement.NamespaceURI));
Construction\ProjectItemDefinitionElement.cs (1)
98XmlUtilities.VerifyThrowArgumentValidElementName(itemType);
Construction\ProjectItemElement.cs (3)
424XmlUtilities.VerifyThrowArgumentValidElementName(itemType); 443XmlUtilities.VerifyThrowArgumentValidElementName(newItemType); 453XmlElementWithLocation newElement = XmlUtilities.RenameXmlElement(XmlElement, newItemType, XmlElement.NamespaceURI);
Construction\ProjectMetadataElement.cs (3)
105XmlUtilities.VerifyThrowArgumentValidElementName(name); 123XmlUtilities.VerifyThrowArgumentValidElementName(newName); 141XmlElementWithLocation newElement = XmlUtilities.RenameXmlElement(XmlElement, newName, XmlElement.NamespaceURI);
Construction\ProjectPropertyElement.cs (3)
95XmlUtilities.VerifyThrowArgumentValidElementName(name); 113XmlUtilities.VerifyThrowArgumentValidElementName(newName); 123XmlElementWithLocation newElement = XmlUtilities.RenameXmlElement(XmlElement, newName, XmlElement.NamespaceURI);
Construction\ProjectUsingTaskParameterElement.cs (2)
75XmlElementWithLocation newElement = XmlUtilities.RenameXmlElement(XmlElement, value, XmlElement.NamespaceURI); 174XmlUtilities.VerifyThrowArgumentValidElementName(parameterName);
Construction\Solution\SolutionProjectGenerator.cs (2)
557if (!XmlUtilities.IsValidInitialElementNameCharacter(name[0])) 565if (!XmlUtilities.IsValidSubsequentElementNameCharacter(builder[i]))
Definition\ProjectItem.cs (1)
585XmlUtilities.VerifyThrowArgumentValidElementName(name);
Definition\ProjectItemDefinition.cs (1)
153XmlUtilities.VerifyThrowArgumentValidElementName(name);
Evaluation\Conditionals\Scanner.cs (1)
366else if (!XmlUtilities.IsValidSubsequentElementNameCharacter(character))
Evaluation\Evaluator.cs (1)
872XmlUtilities.VerifyThrowProjectValidElementName(propertyName, currentProjectOrImport.Location);
Evaluation\Expander.cs (2)
676if (propertyName.Length == 0 || !XmlUtilities.IsValidInitialElementNameCharacter(propertyName[0])) 683if (!XmlUtilities.IsValidSubsequentElementNameCharacter(propertyName[n]))
Evaluation\ExpressionShredder.cs (2)
621if (end <= i || !XmlUtilities.IsValidInitialElementNameCharacter(expression[i])) 628while (end > i && XmlUtilities.IsValidSubsequentElementNameCharacter(expression[i]))
Evaluation\ProjectParser.cs (5)
225XmlUtilities.VerifyThrowProjectValidElementName(childElement); 309XmlUtilities.VerifyThrowProjectValidElementName(element); 347if (!XmlUtilities.IsValidElementName(name)) 397XmlUtilities.VerifyThrowProjectValidElementName(element); 493XmlUtilities.VerifyThrowProjectValidElementName(childElement);
Instance\ProjectInstance.cs (1)
2957(!XmlUtilities.IsValidElementName(environmentVariableName)
Instance\ProjectItemInstance.cs (1)
710XmlUtilities.VerifyThrowArgumentValidElementName(itemTypeToUse);
Instance\ProjectPropertyInstance.cs (2)
330XmlUtilities.VerifyThrowArgumentValidElementName(name); 336XmlUtilities.VerifyThrowProjectValidElementName(name, location);
Utilities\Utilities.cs (1)
570if (XmlUtilities.IsValidElementName(environmentVariableName) &&
Microsoft.Build.Engine.UnitTests (1)
XmlUtilities_Tests.cs (1)
54XmlUtilities.VerifyThrowArgumentValidElementName(name);