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