19 references to BuildCharExceptionArgs
System.Private.Xml (19)
System\Xml\Core\XmlTextReaderImpl.cs (7)
4334Throw(pos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')); 4807Throw(pos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')); 5178Throw(pos, SR.Xml_BadAttributeChar, XmlException.BuildCharExceptionArgs('<', '\0')); 7291Throw((_ps.chars[startPos + 2] == 'x') ? startPos + 3 : startPos + 2, SR.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(ch, '\0')); 7317Throw((_ps.chars[startPos + 2] == 'x') ? startPos + 3 : startPos + 2, SR.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(high, low)); 7557Throw(pos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')); 8609Throw(pos, SR.Xml_BadAttributeChar, XmlException.BuildCharExceptionArgs('<', '\0'));
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
1898Throw(pos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')); 2440Throw(pos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')); 2688Throw(pos, SR.Xml_BadAttributeChar, XmlException.BuildCharExceptionArgs('<', '\0')); 5032Throw(pos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0'));
System\Xml\Schema\DtdParser.cs (2)
2496Throw(_curPos, SR.Xml_BadAttributeChar, XmlException.BuildCharExceptionArgs('<', '\0')); 3023Throw(_curPos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0'));
System\Xml\Schema\DtdParserAsync.cs (2)
1942Throw(_curPos, SR.Xml_BadAttributeChar, XmlException.BuildCharExceptionArgs('<', '\0')); 2436Throw(_curPos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0'));
System\Xml\ValidateNames.cs (1)
609throw new ArgumentException(SR.Format(SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')), nameof(name));
System\Xml\XmlConvert.cs (1)
1631return CreateException(SR.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(invChar, nextChar), exceptionType);
System\Xml\XmlException.cs (2)
222return BuildCharExceptionArgs(data[invCharIndex], invCharIndex + 1 < data.Length ? data[invCharIndex + 1] : '\0'); 231return BuildCharExceptionArgs(data[invCharIndex], invCharIndex + 1 < length ? data[invCharIndex + 1] : '\0');