27 references to BuildCharExceptionArgs
dotnet-svcutil-lib (27)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (2)
331Throw(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(str, i)); 633Throw(ResXml.Xml_InvalidWhitespaceCharacter, XmlException.BuildCharExceptionArgs(value, i));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
182Throw(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(str, i));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingWriter.cs (3)
254throw new ArgumentException(string.Format(ResXml.Xml_InvalidWhitespaceCharacter, XmlException.BuildCharExceptionArgs(ws, i))); 374throw new ArgumentException(string.Format(len == 0 ? ResXml.Xml_BadStartNameChar : ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(ncname, len))); 389throw new ArgumentException(string.Format(res, XmlException.BuildCharExceptionArgs(name, len)));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlEncodedRawTextWriter.cs (1)
1752error = string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(chars, i));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlUtf8RawTextWriter.cs (1)
1632error = string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(chars, i));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (4)
412throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(pubid, i)), "pubid"); 419throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(sysid, i)), "sysid"); 426throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(subset, i)), "subset"); 2185string[] badCharArgs = XmlException.BuildCharExceptionArgs(name, badCharIndex);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
134throw new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos));
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (1)
3556Throw(pos, ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(data, invCharPos));
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
2118string[] invCharArgs = XmlException.BuildCharExceptionArgs(name, len);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (1)
1759string[] invCharArgs = XmlException.BuildCharExceptionArgs(name, len);
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (4)
405throw new XmlException(ResXml.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 410throw new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 425return new XmlException(ResXml.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 430return new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar));
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (7)
387return new XmlException(endPos == 0 ? ResXml.Xml_BadStartNameChar : ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos)); 409throw CreateException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos), exceptionType, 0, endPos + 1); 513throw CreateException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos), exceptionType, 0, endPos + 1); 527return new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos)); 595throw new XmlException(ResXml.Xml_InvalidWhitespaceCharacter, XmlException.BuildCharExceptionArgs(content, pos), 0, pos + 1); 1860return CreateException(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(data, invCharPos), exceptionType, 0, invCharPos + 1); 1875return CreateException(index == 0 ? ResXml.Xml_BadStartNameChar : ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, index), exceptionType, 0, index + 1);