16 references to BuildCharExceptionArgs
System.Xml (16)
System\Xml\Core\XmlTextReaderImpl.cs (5)
2521
Throw( invCharPos, Res.Xml_InvalidCharacter, XmlException.
BuildCharExceptionArgs
( data, length, invCharPos ) );
4043
Throw( pos, Res.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
( chars, ps.charsUsed, pos ) );
4344
Throw( pos, Res.Xml_BadStartNameChar, XmlException.
BuildCharExceptionArgs
( chars, ps.charsUsed, pos ) );
5676
Throw( Res.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
( ps.chars, ps.charsUsed, ps.charPos ) );
6789
Throw( pos, Res.Xml_BadStartNameChar, XmlException.
BuildCharExceptionArgs
( chars, ps.charsUsed, pos ) );
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
1883
Throw(pos, Res.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
(chars, ps.charsUsed, pos));
2219
Throw( pos, Res.Xml_BadStartNameChar, XmlException.
BuildCharExceptionArgs
( chars, ps.charsUsed, pos ) );
3667
Throw( Res.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
( ps.chars, ps.charsUsed, ps.charPos ) );
4622
Throw(pos, Res.Xml_BadStartNameChar, XmlException.
BuildCharExceptionArgs
(chars, ps.charsUsed, pos));
System\Xml\Schema\DtdParser.cs (3)
2852
Throw( curPos, Res.Xml_BadStartNameChar, XmlException.
BuildCharExceptionArgs
( chars, charsUsed, curPos ) );
2954
Throw( curPos, Res.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
( chars, charsUsed, curPos ) );
3292
Throw( invCharPos, Res.Xml_InvalidCharacter, XmlException.
BuildCharExceptionArgs
( data, length, invCharPos ) );
System\Xml\Schema\DtdParserAsync.cs (2)
2280
Throw(curPos, Res.Xml_BadStartNameChar, XmlException.
BuildCharExceptionArgs
(chars, charsUsed, curPos));
2387
Throw( curPos, Res.Xml_BadNameChar, XmlException.
BuildCharExceptionArgs
( chars, charsUsed, curPos ) );
System\Xml\XmlConvert.cs (1)
1662
return CreateException(Res.Xml_InvalidCharacter, XmlException.
BuildCharExceptionArgs
(data, length, invCharPos), exceptionType, 0, invCharPos + 1);
System\Xml\XmlException.cs (1)
240
return
BuildCharExceptionArgs
(data, data.Length, invCharIndex);