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

◆ OpenUrl()

void System.Xml.XmlTextReaderImpl.OpenUrl ( )
inlineprivate

Definition at line 3252 of file XmlTextReaderImpl.cs.

3253 {
3254 XmlResolver tempResolver = GetTempResolver();
3255 if (_ps.baseUri == null)
3256 {
3257 _ps.baseUri = tempResolver.ResolveUri(null, _url);
3259 }
3260 try
3261 {
3262 _ps.stream = (Stream)tempResolver.GetEntity(_ps.baseUri, null, typeof(Stream));
3263 }
3264 catch
3265 {
3266 SetErrorState();
3267 throw;
3268 }
3269 if (_ps.stream == null)
3270 {
3272 }
3275 }
static string Xml_CannotResolveUrl
Definition SR.cs:148
Definition SR.cs:7
override string ToString()
Definition Uri.cs:1119
void InitStreamInput(Stream stream, Encoding encoding)

References System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl._reportedEncoding, System.Xml.XmlTextReaderImpl._url, System.Xml.XmlTextReaderImpl.ParsingState.baseUri, System.Xml.XmlTextReaderImpl.ParsingState.baseUriStr, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.ParsingState.encoding, System.Xml.XmlTextReaderImpl.GetTempResolver(), System.Xml.XmlTextReaderImpl.InitStreamInput(), System.Xml.XmlTextReaderImpl.SetErrorState(), System.Xml.XmlTextReaderImpl.Stream, System.Xml.XmlTextReaderImpl.ParsingState.stream, System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(), System.Uri.ToString(), and System.SR.Xml_CannotResolveUrl.

Referenced by System.Xml.XmlTextReaderImpl.GetRemainder(), and System.Xml.XmlTextReaderImpl.Read().