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