4 writes to _xmlResolver
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (4)
333
_xmlResolver
= null;
337
_xmlResolver
= new XmlUrlResolver();
406
_xmlResolver
= resolver;
2171
_xmlResolver
= value;
17 references to _xmlResolver
dotnet-svcutil-lib (17)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (17)
862
settings.XmlResolver =
_xmlResolver
;
2439
if (_ps.baseUriStr.Length > 0 && _ps.baseUri == null &&
_xmlResolver
!= null)
2441
_ps.baseUri =
_xmlResolver
.ResolveUri(null, _ps.baseUriStr);
2605
return
_xmlResolver
== null; // || (Microsoft.Xml.XmlConfiguration.XmlReaderSection.ProhibitDefaultUrlResolver && !xmlResolverIsSet);
2611
return
_xmlResolver
== null ? new XmlUrlResolver() :
_xmlResolver
;
2664
_ps.baseUri =
_xmlResolver
.ResolveUri(null, _ps.baseUriStr);
3140
Debug.Assert(
_xmlResolver
!= null || !Microsoft.Xml.XmlReaderSettings.EnableLegacyXmlSettings());
8043
uri =
_xmlResolver
.ResolveUri(baseUri, publicId);
8056
uri =
_xmlResolver
.ResolveUri(baseUri, systemId);
8093
Debug.Assert(
_xmlResolver
!= null);
8096
if (
_xmlResolver
.SupportsType(uri, typeof(TextReader)))
8098
TextReader textReader = (TextReader)
_xmlResolver
.GetEntity(uri, null, typeof(TextReader));
8110
Debug.Assert(
_xmlResolver
.SupportsType(uri, typeof(Stream)), "Stream must always be a supported type in XmlResolver");
8112
Stream stream = (Stream)
_xmlResolver
.GetEntity(uri, null, typeof(Stream));
8138
entityBaseUri =
_xmlResolver
.ResolveUri(null, entity.BaseUriString);
9255
return
_xmlResolver
;