13 references to Throw
System.Xml (13)
System\Xml\Core\XmlTextReaderImpl.cs (12)
1991
Throw
( new InvalidOperationException( Res.GetString( Res.Xml_InvalidResetStateCall ) ) );
2432
this.
Throw
( e );
2472
Throw
( new XmlException( res, string.Empty, lineNo, linePos, ps.baseUriStr ) );
2476
Throw
( new XmlException( res, arg, ps.LineNo, ps.LinePos, ps.baseUriStr ) );
2480
Throw
( new XmlException( res, arg, lineNo, linePos, ps.baseUriStr ) );
2484
Throw
( new XmlException( res, args, ps.LineNo, ps.LinePos, ps.baseUriStr ) );
2492
Throw
( new XmlException( res, args, innerException, ps.LineNo, ps.LinePos, ps.baseUriStr ) );
2505
Throw
( new XmlException( e.Message, (Exception)null, lineNo, linePos, ps.baseUriStr ) );
2509
Throw
( new XmlException( res, string.Empty, ps.baseUriStr ) );
2513
Throw
( new XmlException( res, arg, ps.baseUriStr ) );
2517
Throw
( new XmlException( res, args, innerException, 0, 0, ps.baseUriStr ) );
7137
Throw
( new XmlException( entityName == null ? Res.Xml_ErrorOpeningExternalDtd : Res.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0 ) );
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
4778
Throw
( new XmlException( entityName == null ? Res.Xml_ErrorOpeningExternalDtd : Res.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0 ) );