3 writes to _xmlResolver
System.Private.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (3)
325
_xmlResolver
= null;
391
_xmlResolver
= resolver;
2108
_xmlResolver
= value;
27 references to _xmlResolver
System.Private.Xml (27)
System\Xml\Core\XmlTextReaderImpl.cs (18)
850
settings.XmlResolver =
_xmlResolver
;
2363
if (_ps.baseUriStr.Length > 0 && _ps.baseUri == null &&
_xmlResolver
!= null)
2365
_ps.baseUri =
_xmlResolver
.ResolveUri(null, _ps.baseUriStr);
2529
return
_xmlResolver
== null || !_xmlResolverIsSet;
2535
return
_xmlResolver
?? XmlReaderSettings.GetDefaultPermissiveResolver();
2586
Debug.Assert(
_xmlResolver
!= null);
2590
_ps.baseUri =
_xmlResolver
.ResolveUri(null, _ps.baseUriStr);
7892
Debug.Assert(
_xmlResolver
!= null);
7899
uri =
_xmlResolver
.ResolveUri(baseUri, publicId);
7912
uri =
_xmlResolver
.ResolveUri(baseUri, systemId);
7950
Debug.Assert(
_xmlResolver
!= null);
7953
if (
_xmlResolver
.SupportsType(uri, typeof(TextReader)))
7955
TextReader? textReader = (TextReader?)
_xmlResolver
.GetEntity(uri, null, typeof(TextReader));
7967
Debug.Assert(
_xmlResolver
.SupportsType(uri, typeof(Stream)), "Stream must always be a supported type in XmlResolver");
7969
Stream? stream = (Stream?)
_xmlResolver
.GetEntity(uri, null, typeof(Stream));
7991
Debug.Assert(
_xmlResolver
!= null);
7995
entityBaseUri =
_xmlResolver
.ResolveUri(null, entity.BaseUriString);
9131
return
_xmlResolver
;
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
839
_ps.baseUri =
_xmlResolver
!.ResolveUri(null, _ps.baseUriStr);
5109
uri =
_xmlResolver
!.ResolveUri(baseUri, publicId);
5122
uri =
_xmlResolver
!.ResolveUri(baseUri, systemId);
5161
Debug.Assert(
_xmlResolver
!= null);
5164
if (
_xmlResolver
.SupportsType(uri, typeof(TextReader)))
5166
TextReader textReader = (TextReader)await
_xmlResolver
.GetEntityAsync(uri, null, typeof(TextReader)).ConfigureAwait(false);
5178
Debug.Assert(
_xmlResolver
.SupportsType(uri, typeof(Stream)), "Stream must always be a supported type in XmlResolver");
5180
Stream stream = (Stream)await
_xmlResolver
.GetEntityAsync(uri, null, typeof(Stream)).ConfigureAwait(false);
5205
entityBaseUri =
_xmlResolver
!.ResolveUri(null, entity.BaseUriString);