13 references to Throw
System.Private.Xml (13)
System\Xml\Core\XmlTextReaderImpl.cs (12)
2127
Throw
(new InvalidOperationException(SR.Xml_InvalidResetStateCall));
2630
this.
Throw
(e);
2682
Throw
(new XmlException(res, string.Empty, lineNo, linePos, _ps.baseUriStr));
2688
Throw
(new XmlException(res, arg, _ps.LineNo, _ps.LinePos, _ps.baseUriStr));
2694
Throw
(new XmlException(res, arg, lineNo, linePos, _ps.baseUriStr));
2700
Throw
(new XmlException(res, args, _ps.LineNo, _ps.LinePos, _ps.baseUriStr));
2712
Throw
(new XmlException(res, args, innerException, _ps.LineNo, _ps.LinePos, _ps.baseUriStr));
2732
Throw
(new XmlException(e.Message, (Exception?)null, lineNo, linePos, _ps.baseUriStr));
2738
Throw
(new XmlException(res, string.Empty, _ps.baseUriStr));
2744
Throw
(new XmlException(res, arg, _ps.baseUriStr));
2750
Throw
(new XmlException(res, args, innerException, 0, 0, _ps.baseUriStr));
7930
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)
5139
Throw
(new XmlException(entityName == null ? SR.Xml_ErrorOpeningExternalDtd : SR.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0));