13 references to Throw
System.Private.Xml (13)
System\Xml\Core\XmlTextReaderImpl.cs (12)
2128
Throw
(new InvalidOperationException(SR.Xml_InvalidResetStateCall));
2631
this.
Throw
(e);
2683
Throw
(new XmlException(res, string.Empty, lineNo, linePos, _ps.baseUriStr));
2689
Throw
(new XmlException(res, arg, _ps.LineNo, _ps.LinePos, _ps.baseUriStr));
2695
Throw
(new XmlException(res, arg, lineNo, linePos, _ps.baseUriStr));
2701
Throw
(new XmlException(res, args, _ps.LineNo, _ps.LinePos, _ps.baseUriStr));
2713
Throw
(new XmlException(res, args, innerException, _ps.LineNo, _ps.LinePos, _ps.baseUriStr));
2733
Throw
(new XmlException(e.Message, (Exception?)null, lineNo, linePos, _ps.baseUriStr));
2739
Throw
(new XmlException(res, string.Empty, _ps.baseUriStr));
2745
Throw
(new XmlException(res, arg, _ps.baseUriStr));
2751
Throw
(new XmlException(res, args, innerException, 0, 0, _ps.baseUriStr));
7972
Throw
(new XmlException(entityName == null ? SR.Xml_ErrorOpeningExternalDtd : SR.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0));
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
5169
Throw
(new XmlException(entityName == null ? SR.Xml_ErrorOpeningExternalDtd : SR.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0));