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