6 types derived from XmlResolver
System.Private.Xml (6)
System\Xml\Resolvers\XmlPreloadedResolver.cs (1)
20public partial class XmlPreloadedResolver : XmlResolver
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
15public partial class XmlPreloadedResolver : XmlResolver
System\Xml\XmlResolver.FileSystemResolver.cs (1)
22private sealed class XmlFileSystemResolver : XmlResolver
System\Xml\XmlResolver.ThrowingResolver.cs (1)
26private sealed class XmlThrowingResolver : XmlResolver
System\Xml\XmlSecureResolver.cs (1)
11public class XmlSecureResolver : XmlResolver
System\Xml\XmlUrlResolver.cs (1)
14public partial class XmlUrlResolver : XmlResolver
159 references to XmlResolver
netstandard (1)
netstandard.cs (1)
2498[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlResolver))]
PresentationFramework (2)
System\Windows\Documents\FixedSchema.cs (2)
352XmlResolver resolver = new XmlUrlResolver(); 753XmlResolver resolver = new XmlUrlResolver();
System.Private.Xml (126)
System\Xml\Core\XmlReaderSettings.cs (13)
18private XmlResolver? _xmlResolver; 38private delegate XmlReader AddValidationFunc(XmlReader reader, XmlResolver? resolver, bool addConformanceWrapper); 72public XmlResolver? XmlResolver 82internal XmlResolver? GetXmlResolver() 90internal XmlResolver? GetXmlResolver_CheckConfig() 324XmlResolver tmpResolver = GetXmlResolver() ?? GetDefaultPermissiveResolver(); 404private void Initialize(XmlResolver? resolver = null) 432XmlResolver? resolver = null; 448XmlResolver? resolver = null; 457private XmlReader AddValidationAndConformanceInternal(XmlReader reader, XmlResolver? resolver, bool addConformanceWrapper) 480private XmlReader AddValidationInternal(XmlReader reader, XmlResolver? resolver, bool addConformanceWrapper) 626internal static XmlResolver GetDefaultPermissiveResolver() 628return LocalAppContextSwitches.IsNetworkingEnabledByDefault ? new XmlUrlResolver() : XmlResolver.FileSystemResolver;
System\Xml\Core\XmlTextReader.cs (1)
407public XmlResolver? XmlResolver
System\Xml\Core\XmlTextReaderImpl.cs (10)
127public XmlResolver? inputUriResolver; 177private XmlResolver? _xmlResolver; 356private XmlTextReaderImpl(XmlResolver? resolver, XmlReaderSettings settings, XmlParserContext? context) 585internal XmlTextReaderImpl(string uriStr, XmlReaderSettings settings, XmlParserContext? context, XmlResolver uriResolver) 2104internal XmlResolver? XmlResolver 2533private XmlResolver GetTempResolver() 3059XmlResolver tmpResolver = GetTempResolver(); 9126internal XmlResolver? GetResolver() 9498private static bool UriEqual(Uri? uri1, string? uri1Str, string? uri2Str, XmlResolver? resolver) 9738static partial void ConvertAbsoluteUnixPathToAbsoluteUri([NotNullIfNotNull(nameof(url))] ref string? url, XmlResolver? resolver);
System\Xml\Core\XmlTextReaderImpl.Unix.cs (1)
10static partial void ConvertAbsoluteUnixPathToAbsoluteUri([NotNullIfNotNull(nameof(url))] ref string? url, XmlResolver? resolver)
System\Xml\Core\XmlValidatingReader.cs (1)
317public XmlResolver XmlResolver
System\Xml\Core\XmlValidatingReaderImpl.cs (5)
921internal XmlResolver XmlResolver 1064XmlResolver? resolver = GetResolver(); 1075private static XmlResolver? s_tempResolver; 1078private XmlResolver? GetResolver() 1080XmlResolver? tempResolver = _coreReaderImpl.GetResolver();
System\Xml\Core\XsdValidatingReader.cs (3)
64private readonly XmlResolver? _xmlResolver; 126internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject? partialValidationType) 164internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings)
System\Xml\Dom\XmlDocument.cs (3)
122private XmlResolver? _resolver; 442internal XmlResolver? GetResolver() 447public virtual XmlResolver? XmlResolver
System\Xml\Dom\XmlLoader.cs (1)
593private void ParseDocumentType(XmlDocumentType dtNode, bool bUseResolver, XmlResolver? resolver)
System\Xml\Resolvers\XmlPreloadedResolver.cs (4)
128private readonly XmlResolver? _fallbackResolver; 161public XmlPreloadedResolver(XmlResolver? fallbackResolver) 166public XmlPreloadedResolver(XmlResolver? fallbackResolver, XmlKnownDtds preloadedDtds) 171public XmlPreloadedResolver(XmlResolver? fallbackResolver, XmlKnownDtds preloadedDtds, IEqualityComparer<Uri>? uriComparer)
System\Xml\Schema\BaseValidator.cs (2)
22private XmlResolver? _xmlResolver; 100public XmlResolver? XmlResolver
System\Xml\Schema\Parser.cs (2)
29private XmlResolver? _xmlResolver; //to be used only by XDRBuilder 153internal XmlResolver? XmlResolver
System\Xml\Schema\Preprocessor.cs (2)
73private XmlResolver? _xmlResolver; 199internal XmlResolver? XmlResolver
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
42private XmlResolver? _xmlResolver; 121internal XmlResolver? XmlResolver
System\Xml\Schema\XdrBuilder.cs (2)
394private XmlResolver? _xmlResolver; 499internal XmlResolver? XmlResolver
System\Xml\Schema\XmlSchema.cs (2)
200public void Compile(ValidationEventHandler? validationEventHandler, XmlResolver? resolver) 208internal bool CompileSchema(XmlSchemaCollection? xsc, XmlResolver? resolver, SchemaInfo schemaInfo, string? ns, ValidationEventHandler? validationEventHandler, XmlNameTable nameTable, bool CompileContentModel)
System\Xml\Schema\XmlSchemaAttribute.cs (1)
117internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaCollection.cs (5)
31private XmlResolver? _xmlResolver; 82internal XmlResolver? XmlResolver 126public XmlSchema? Add(string? ns, XmlReader reader, XmlResolver? resolver) 162public XmlSchema? Add(XmlSchema schema, XmlResolver? resolver) 293private XmlSchema? Add(string? ns, SchemaInfo schemaInfo, XmlSchema? schema, bool compile, XmlResolver? resolver)
System\Xml\Schema\XmlSchemaElement.cs (1)
193internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaSet.cs (3)
157public XmlResolver? XmlResolver 235XmlResolver tempResolver = _readerSettings.GetXmlResolver() ?? XmlReaderSettings.GetDefaultPermissiveResolver(); 1216internal XmlResolver? GetResolver()
System\Xml\Schema\XmlSchemaType.cs (1)
207internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaValidator.cs (2)
118private XmlResolver? _xmlResolver; 252public XmlResolver? XmlResolver
System\Xml\XmlResolver.FileSystemResolver.cs (2)
17/// <see cref="XmlResolver"/> instance returned by this property will resolve only URIs which scheme is file. 19public static XmlResolver FileSystemResolver => XmlFileSystemResolver.s_singleton;
System\Xml\XmlResolver.ThrowingResolver.cs (2)
17/// <see cref="XmlResolver"/> instance returned by this property is forbidden 23public static XmlResolver ThrowingResolver => XmlThrowingResolver.s_singleton;
System\Xml\XmlSecureResolver.cs (3)
13public XmlSecureResolver(XmlResolver resolver, string? securityUrl) 24public override object? GetEntity(Uri absoluteUri, string? role, Type? ofObjectToReturn) => XmlResolver.ThrowingResolver.GetEntity(absoluteUri, role, ofObjectToReturn); 27public override Task<object> GetEntityAsync(Uri absoluteUri, string? role, Type? ofObjectToReturn) => XmlResolver.ThrowingResolver.GetEntityAsync(absoluteUri, role, ofObjectToReturn);
System\Xml\Xsl\QueryReaderSettings.cs (1)
22private readonly XmlResolver? _xmlResolver;
System\Xml\Xsl\Runtime\XmlQueryContext.cs (2)
33private readonly XmlResolver _dataSources; 43internal XmlQueryContext(XmlQueryRuntime runtime, object defaultDataSource, XmlResolver dataSources, XsltArgumentList? argList, WhitespaceRuleLookup? wsRules)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
70internal XmlQueryRuntime(XmlQueryStaticData data, object defaultDataSource, XmlResolver dataSources, XsltArgumentList? argList, XmlSequenceWriter seqWrt)
System\Xml\Xsl\XmlILCommand.cs (3)
46public void Execute(object defaultDocument, XmlResolver? dataSources, XsltArgumentList? argumentList, XmlWriter writer) 81private void Execute(object defaultDocument, XmlResolver? dataSources, XsltArgumentList? argumentList, XmlSequenceWriter results) 86dataSources ??= XmlResolver.ThrowingResolver;
System\Xml\Xsl\Xslt\Compiler.cs (2)
73public CompilerErrorCollection Compile(object stylesheet, XmlResolver? xmlResolver, XmlResolver? origResolver, out QilExpression qil)
System\Xml\Xsl\Xslt\XsltLoader.cs (5)
26private XmlResolver _xmlResolver = null!; 41public void Load(Compiler compiler, object stylesheet, XmlResolver? xmlResolver, XmlResolver? origResolver) 45_xmlResolver = xmlResolver ?? XmlResolver.ThrowingResolver; 200private XmlReader CreateReader(Uri uri, XmlResolver xmlResolver)
System\Xml\Xsl\XsltOld\Compiler.cs (2)
63private XmlResolver? _xmlResolver; 170internal void Compile(NavigatorInput input, XmlResolver xmlResolver)
System\Xml\Xsl\XsltOld\Processor.cs (4)
87private readonly XmlResolver _resolver; 138internal XmlResolver Resolver 327XPathNavigator doc, XsltArgumentList? args, XmlResolver? resolver, 348_resolver = resolver ?? XmlResolver.ThrowingResolver;
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
256XmlResolver resolver = _processor!.Resolver;
System\Xml\Xslt\XslCompiledTransform.cs (11)
91public void Load(XmlReader stylesheet, XsltSettings? settings, XmlResolver? stylesheetResolver) 107public void Load(IXPathNavigable stylesheet, XsltSettings? settings, XmlResolver? stylesheetResolver) 120public void Load(string stylesheetUri, XsltSettings? settings, XmlResolver? stylesheetResolver) 130private void LoadInternal(object stylesheet, XsltSettings? settings, XmlResolver? stylesheetResolver, XmlResolver? originalStylesheetResolver) 149private void CompileXsltToQil(object stylesheet, XsltSettings settings, XmlResolver? stylesheetResolver, XmlResolver? originalStylesheetResolver) 376public void Transform(XmlReader input, XsltArgumentList? arguments, XmlWriter results, XmlResolver? documentResolver) 387public void Transform(IXPathNavigable input, XsltArgumentList? arguments, XmlWriter results, XmlResolver? documentResolver) 405private static XmlResolver CreateDefaultResolver() 412return XmlResolver.ThrowingResolver;
System\Xml\Xslt\XslTransform.cs (20)
16private XmlResolver? _documentResolver; 18private XmlResolver? _DocumentResolver 41public XmlResolver? XmlResolver 54public void Load(XmlReader stylesheet, XmlResolver? resolver) 65public void Load(IXPathNavigable stylesheet, XmlResolver? resolver) 79public void Load(XPathNavigator stylesheet, XmlResolver? resolver) 92public void Load([StringSyntax(StringSyntaxAttribute.Uri)] string url, XmlResolver? resolver) 116public XmlReader Transform(XPathNavigator input, XsltArgumentList? args, XmlResolver? resolver) 128public void Transform(XPathNavigator input, XsltArgumentList? args, XmlWriter output, XmlResolver? resolver) 139public void Transform(XPathNavigator input, XsltArgumentList? args, Stream output, XmlResolver? resolver) 151public void Transform(XPathNavigator input, XsltArgumentList? args, TextWriter output, XmlResolver? resolver) 165public XmlReader Transform(IXPathNavigable input, XsltArgumentList? args, XmlResolver? resolver) 178public void Transform(IXPathNavigable input, XsltArgumentList? args, TextWriter output, XmlResolver? resolver) 192public void Transform(IXPathNavigable input, XsltArgumentList? args, Stream output, XmlResolver? resolver) 206public void Transform(IXPathNavigable input, XsltArgumentList? args, XmlWriter output, XmlResolver? resolver) 220public void Transform(string inputfile, string outputfile, XmlResolver? resolver) 243private void Compile(XPathNavigator stylesheet, XmlResolver? resolver) 249compiler.Compile(input, resolver ?? XmlResolver.ThrowingResolver); 259private static XmlResolver CreateDefaultResolver() 267return XmlResolver.ThrowingResolver;
System.Security.Cryptography.Xml (28)
System\Security\Cryptography\Xml\CanonicalXml.cs (4)
15internal CanonicalXml(Stream inputStream, bool includeComments, XmlResolver? resolver, string strBaseUri) 28internal CanonicalXml(XmlDocument document, XmlResolver? resolver) : this(document, resolver, false) { } 29internal CanonicalXml(XmlDocument document, XmlResolver? resolver, bool includeComments) 42internal CanonicalXml(XmlNodeList nodeList, XmlResolver? resolver, bool includeComments)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
64private XmlResolver? _xmlResolver; 141public XmlResolver? Resolver
System\Security\Cryptography\Xml\ExcCanonicalXml.cs (3)
15internal ExcCanonicalXml(Stream inputStream, bool includeComments, string inclusiveNamespacesPrefixList, XmlResolver resolver, string strBaseUri) 28internal ExcCanonicalXml(XmlDocument document, bool includeComments, string inclusiveNamespacesPrefixList, XmlResolver resolver) 41internal ExcCanonicalXml(XmlNodeList nodeList, bool includeComments, string inclusiveNamespacesPrefixList, XmlResolver resolver)
System\Security\Cryptography\Xml\Reference.cs (1)
374XmlResolver? resolver = null;
System\Security\Cryptography\Xml\SignedXml.cs (3)
29internal XmlResolver? _xmlResolver; 148public XmlResolver Resolver 798XmlResolver? resolver = (_bResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver());
System\Security\Cryptography\Xml\Transform.cs (2)
27internal XmlResolver? _xmlResolver; 68public XmlResolver? Resolver
System\Security\Cryptography\Xml\TransformChain.cs (1)
62internal Stream TransformToOctetStream(object? inputObject, XmlResolver? resolver, string? baseUri)
System\Security\Cryptography\Xml\Utils.cs (4)
180internal static XmlReader PreProcessStreamInput(Stream inputStream, XmlResolver? xmlResolver, string? baseUri) 187internal static XmlReaderSettings GetSecureXmlReaderSettings(XmlResolver? xmlResolver) 197internal static XmlDocument PreProcessDocumentInput(XmlDocument document, XmlResolver xmlResolver, string baseUri) 221internal static XmlDocument PreProcessElementInput(XmlElement elem, XmlResolver xmlResolver, string? baseUri)
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
153XmlResolver resolver = (ResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver());
System\Security\Cryptography\Xml\XmlDsigC14NTransform.cs (1)
50XmlResolver resolver = ResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver();
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (1)
82XmlResolver resolver = ResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver();
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (1)
77XmlResolver resolver = (ResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver());
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (2)
136XmlResolver resolver = (ResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver()); 146XmlResolver resolver = (ResolverSet ? _xmlResolver : XmlResolverHelper.GetThrowingResolver());
System\Security\Cryptography\Xml\XmlResolverHelper.cs (2)
12internal static XmlResolver GetThrowingResolver() 15return XmlResolver.ThrowingResolver;
System.Xml (1)
System.Xml.cs (1)
227[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlResolver))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
155[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlResolver))]