13 references to BuildCharExceptionArgs
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (7)
4424
Throw(pos, ResXml.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
(':', '\0'));
4924
Throw(pos, ResXml.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
(':', '\0'));
5305
Throw(pos, ResXml.Xml_BadAttributeChar, XmlException.
BuildCharExceptionArgs
('<', '\0'));
7416
Throw((_ps.chars[startPos + 2] == 'x') ? startPos + 3 : startPos + 2, ResXml.Xml_InvalidCharacter, XmlException.
BuildCharExceptionArgs
(ch, '\0'));
7445
Throw((_ps.chars[startPos + 2] == 'x') ? startPos + 3 : startPos + 2, ResXml.Xml_InvalidCharacter, XmlException.
BuildCharExceptionArgs
(high, low));
7704
Throw(pos, ResXml.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
(':', '\0'));
8753
Throw(pos, ResXml.Xml_BadAttributeChar, XmlException.
BuildCharExceptionArgs
('<', '\0'));
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (2)
2524
Throw(_curPos, ResXml.Xml_BadAttributeChar, XmlException.
BuildCharExceptionArgs
('<', '\0'));
3080
Throw(_curPos, ResXml.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
(':', '\0'));
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (1)
648
throw new ArgumentException(string.Format(ResXml.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
(':', '\0')), "name");
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (1)
1870
return CreateException(ResXml.Xml_InvalidCharacter, XmlException.
BuildCharExceptionArgs
(invChar, nextChar), exceptionType);
FrameworkFork\Microsoft.Xml\Xml\XmlException.cs (2)
190
return
BuildCharExceptionArgs
(data[invCharIndex], invCharIndex + 1 < data.Length ? data[invCharIndex + 1] : '\0');
204
return
BuildCharExceptionArgs
(data[invCharIndex], invCharIndex + 1 < length ? data[invCharIndex + 1] : '\0');