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