Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FinishInitUriString()

void System.Xml.XmlTextReaderImpl.FinishInitUriString ( )
inlineprivate

Definition at line 1710 of file XmlTextReaderImpl.cs.

1711 {
1712 Stream stream = null;
1714 {
1716 stream = (Stream)entityAsync.GetAwaiter().GetResult();
1717 }
1718 else
1719 {
1721 }
1722 if (stream == null)
1723 {
1725 }
1726 Encoding encoding = null;
1727 if (_laterInitParam.inputContext != null)
1728 {
1730 }
1731 try
1732 {
1736 {
1738 }
1739 }
1740 catch
1741 {
1742 stream.Dispose();
1743 throw;
1744 }
1745 _laterInitParam = null;
1746 }
static string Xml_CannotResolveUrl
Definition SR.cs:148
Definition SR.cs:7
object? GetEntity(Uri absoluteUri, string? role, Type? ofObjectToReturn)
virtual Task< object > GetEntityAsync(Uri absoluteUri, string? role, Type? ofObjectToReturn)
void InitStreamInput(Stream stream, Encoding encoding)
void ProcessDtdFromParserContext(XmlParserContext context)

References System.Xml.XmlTextReaderImpl._laterInitParam, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl._reportedBaseUri, System.Xml.XmlTextReaderImpl._reportedEncoding, System.Xml.XmlParserContext.Encoding, System.Xml.XmlTextReaderImpl.ParsingState.encoding, System.Xml.XmlResolver.GetEntity(), System.Xml.XmlResolver.GetEntityAsync(), System.Xml.XmlParserContext.HasDtdInfo, System.Xml.XmlTextReaderImpl.InitStreamInput(), System.Xml.XmlTextReaderImpl.LaterInitParam.inputbaseUri, System.Xml.XmlTextReaderImpl.LaterInitParam.inputContext, System.Xml.XmlTextReaderImpl.LaterInitParam.inputUriResolver, System.Xml.XmlTextReaderImpl.LaterInitParam.inputUriStr, System.Xml.XmlTextReaderImpl.ProcessDtdFromParserContext(), System.stream, System.Xml.XmlTextReaderImpl.Stream, System.Xml.XmlTextReaderImpl.LaterInitParam.useAsync, System.SR.Xml_CannotResolveUrl, and System.Xml.XmlException.

Referenced by System.Xml.XmlTextReaderImpl.XmlTextReaderImpl(), and System.Xml.XmlTextReaderImpl.FinishInit().