4 writes to xmlResolver
System.Xml (4)
System\Xml\Core\XmlTextReaderImpl.cs (4)
359
xmlResolver
= null;
363
xmlResolver
= new XmlUrlResolver();
429
xmlResolver
= resolver;
1976
xmlResolver
= value;
26 references to xmlResolver
System.Xml (26)
System\Xml\Core\XmlTextReaderImpl.cs (17)
860
settings.XmlResolver =
xmlResolver
;
2205
if ( ps.baseUriStr.Length > 0 && ps.baseUri == null &&
xmlResolver
!= null ) {
2206
ps.baseUri =
xmlResolver
.ResolveUri( null, ps.baseUriStr );
2343
return
xmlResolver
== null || (System.Xml.XmlConfiguration.XmlReaderSection.ProhibitDefaultUrlResolver && !xmlResolverIsSet);
2351
return
xmlResolver
== null ? new XmlUrlResolver() :
xmlResolver
;
2398
ps.baseUri =
xmlResolver
.ResolveUri(null, ps.baseUriStr);
2822
Debug.Assert(
xmlResolver
!= null || !System.Xml.XmlReaderSettings.EnableLegacyXmlSettings());
7109
uri =
xmlResolver
.ResolveUri(baseUri, publicId);
7120
uri =
xmlResolver
.ResolveUri( baseUri, systemId );
7154
Debug.Assert(
xmlResolver
!= null );
7157
if (
xmlResolver
.SupportsType( uri, typeof( TextReader ) ) ) {
7158
TextReader textReader = (TextReader)
xmlResolver
.GetEntity( uri, null, typeof( TextReader ) );
7168
Debug.Assert(
xmlResolver
.SupportsType( uri, typeof( Stream ) ), "Stream must always be a supported type in XmlResolver" );
7170
Stream stream = (Stream)
xmlResolver
.GetEntity( uri, null, typeof( Stream ) );
7195
entityBaseUri =
xmlResolver
.ResolveUri(null, entity.BaseUriString);
8156
return
xmlResolver
;
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
797
ps.baseUri =
xmlResolver
.ResolveUri(null, ps.baseUriStr);
4746
uri =
xmlResolver
.ResolveUri(baseUri, publicId);
4759
uri =
xmlResolver
.ResolveUri( baseUri, systemId );
4798
Debug.Assert(
xmlResolver
!= null );
4801
if (
xmlResolver
.SupportsType( uri, typeof( TextReader ) ) ) {
4802
TextReader textReader = (TextReader) await
xmlResolver
.GetEntityAsync( uri, null, typeof( TextReader ) ).ConfigureAwait(false);
4812
Debug.Assert(
xmlResolver
.SupportsType( uri, typeof( Stream ) ), "Stream must always be a supported type in XmlResolver" );
4814
Stream stream = (Stream)await
xmlResolver
.GetEntityAsync(uri, null, typeof(Stream)).ConfigureAwait(false);
4840
entityBaseUri =
xmlResolver
.ResolveUri(null, entity.BaseUriString);