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