30 references to ValidateNames
System.Xml (30)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
2099ValidateNames.SplitQName(name, out prefix, out lname);
System\Xml\Core\XmlCharCheckingReader.cs (3)
537ValidateNames.ParseQNameThrow( name, out prefix, out localName ); 543ValidateNames.ParseNCNameThrow( prefix ); 545ValidateNames.ParseNCNameThrow( localName );
System\Xml\Core\XmlCharCheckingWriter.cs (2)
306int len = ValidateNames.ParseNCName( ncname, 0 ); 317int len = ValidateNames.ParseQName( name, 0, out colonPos );
System\Xml\Core\XmlReader.cs (2)
1036return ValidateNames.IsNameNoNamespaces(str); 1044return ValidateNames.IsNmtokenNoNamespaces(str);
System\Xml\Core\XmlTextWriter.cs (4)
945if (!ValidateNames.IsNmtokenNoNamespaces(name)) { 1372int position = ValidateNames.ParseNCName(name); 1389position += ValidateNames.ParseNmtoken(name, position); 1398if (ValidateNames.IsNameNoNamespaces(name)) {
System\Xml\Core\XsdValidatingReader.cs (2)
1730ValidateNames.SplitQName(name, out attrPrefix, out attrLocalName); 1763ValidateNames.SplitQName(name, out attrPrefix, out attrLocalName);
System\Xml\Dom\XmlDocument.cs (1)
129int endPos = ValidateNames.ParseNmtoken( name, 0 );
System\Xml\Schema\Preprocessor.cs (1)
1707int len = ValidateNames.ParseNCName(name, 0);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1390int len = ValidateNames.ParseNCName(name, 0);
System\Xml\Schema\XmlAtomicValue.cs (1)
337int len = ValidateNames.ParseQName(value, 0, out colonOffset);
System\Xml\Schema\XmlValueConverter.cs (1)
666ValidateNames.ParseQNameThrow(value, out prefix, out localName);
System\Xml\XmlConvert.cs (8)
328int endPos = ValidateNames.ParseNameNoNamespaces(name, 0); 344int endPos = ValidateNames.ParseNameNoNamespaces(name, 0); 367int endPos = ValidateNames.ParseQName(name, 0, out colonPosition); 391int end = ValidateNames.ParseNCName(name, 0); 403int len = ValidateNames.ParseNCName(name); 406return ValidateNames.GetInvalidNameException(name, 0, len); 454int endPos = ValidateNames.ParseNmtokenNoNamespaces(name, 0); 467int endPos = ValidateNames.ParseNmtokenNoNamespaces(name, 0);
System\Xml\XmlQualifiedName.cs (1)
247ValidateNames.ParseQNameThrow(s, out prefix, out localName);
System\Xml\XPath\XPathNavigatorReader.cs (2)
377ValidateNames.SplitQName( name, out prefix, out localname ); 617ValidateNames.SplitQName( name, out prefix, out localname );