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

◆ XmlTextReaderImpl() [17/20]

System.Xml.XmlTextReaderImpl.XmlTextReaderImpl ( string uriStr,
XmlReaderSettings settings,
XmlParserContext context,
XmlResolver uriResolver )
inlinepackage

Definition at line 1679 of file XmlTextReaderImpl.cs.

1680 : this(settings.GetXmlResolver(), settings, context)
1681 {
1682 Uri uri = uriResolver.ResolveUri(null, uriStr);
1683 string text = uri.ToString();
1684 if (context != null && context.BaseURI != null && context.BaseURI.Length > 0 && !UriEqual(uri, text, context.BaseURI, settings.GetXmlResolver()))
1685 {
1686 if (text.Length > 0)
1687 {
1689 }
1690 text = context.BaseURI;
1691 }
1693 _closeInput = true;
1694 _laterInitParam = new LaterInitParam();
1699 _laterInitParam.initType = InitInputType.UriString;
1700 if (!settings.Async)
1701 {
1703 }
1704 else
1705 {
1707 }
1708 }
static string Xml_DoubleBaseUri
Definition SR.cs:192
Definition SR.cs:7
bool UriEqual(Uri uri1, string uri1Str, string uri2Str, XmlResolver resolver)
void Throw(int pos, string res, string arg)

References System.Xml.XmlTextReaderImpl._closeInput, System.Xml.XmlTextReaderImpl._laterInitParam, System.Xml.XmlTextReaderImpl._reportedBaseUri, System.Xml.XmlReaderSettings.Async, System.Xml.XmlParserContext.BaseURI, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.FinishInitUriString(), System.Xml.XmlReaderSettings.GetXmlResolver(), System.text, System.Xml.XmlTextReaderImpl.Throw(), System.Uri.ToString(), System.Xml.XmlTextReaderImpl.UriEqual(), and System.SR.Xml_DoubleBaseUri.