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