20 references to Throw
System.Private.Xml (20)
System\Xml\Core\XmlTextReaderImpl.cs (12)
3545Throw(_ps.charsUsed, SR.Xml_InvalidCharInThisEncoding); 3963Throw(_ps.charPos, SR.Xml_InvalidRootData); 3993Throw(pos + 1, SR.Xml_UnexpectedEndTag); 4001Throw(pos, SR.Xml_MultipleRoots); 4018Throw(pos, SR.Xml_InvalidRootData); 4262Throw(_ps.charsUsed, SR.Xml_UnexpectedEOF1); 5672Throw(pos, SR.Xml_CDATAEndInText); 6555Throw(pos, SR.Xml_InvalidCommentChars); 6694Throw(_ps.charPos - 2, SR.Xml_MultipleDTDsProvided); // position just before <!DOCTYPE 6699Throw(_ps.charPos - 2, SR.Xml_DtdAfterRootElement); 7280Throw(pos, badDigitExceptionString); 8807Throw(pos, SR.Xml_UnexpectedEOF1);
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
1529Throw(_ps.charPos, SR.Xml_InvalidRootData); 1555Throw(pos + 1, SR.Xml_UnexpectedEndTag); 1563Throw(pos, SR.Xml_MultipleRoots); 1616Throw(pos, SR.Xml_InvalidRootData); 3326Throw(pos, SR.Xml_CDATAEndInText); 4298Throw(pos, SR.Xml_InvalidCommentChars); 4435Throw(_ps.charPos - 2, SR.Xml_MultipleDTDsProvided); // position just before <!DOCTYPE 4439Throw(_ps.charPos - 2, SR.Xml_DtdAfterRootElement);