6 references to ValidateName
System.Private.Xml (6)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
1075
if (!ValidateNames.
ValidateName
(prefix, string.Empty, ns, nodeType, ValidateNames.Flags.CheckPrefixMapping))
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (2)
4124
Debug.Assert(ValidateNames.
ValidateName
(prefix, localName, ns, nodeType, ValidateNames.Flags.AllExceptPrefixMapping));
4135
if (!ValidateNames.
ValidateName
(prefix, localName, ns, nodeType, ValidateNames.Flags.CheckPrefixMapping))
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (3)
163
Debug.Assert(ValidateNames.
ValidateName
(prefix, localName, ns, XPathNodeType.Element, ValidateNames.Flags.All), "Name validation failed");
231
Debug.Assert(ValidateNames.
ValidateName
(prefix, localName, ns, XPathNodeType.Attribute, ValidateNames.Flags.All));
1524
if (!ValidateNames.
ValidateName
(prefix, localName, ns, nodeType, ValidateNames.Flags.AllExceptNCNames))