101 instantiations of XmlReaderSettings
BoundTreeGenerator (1)
Program.cs (1)
51using (var reader = XmlReader.Create(infilename, new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit }))
CSharpSyntaxGenerator (1)
SourceGenerator.cs (1)
75var reader = XmlReader.Create(new SourceTextReader(inputText), new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit });
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (1)
37s_xmlReaderSettings = new XmlReaderSettings();
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
305 using XmlReader reader = XmlReader.Create (sr, new XmlReaderSettings () { XmlResolver = null });
IOperationGenerator (1)
Program.cs (1)
25using (var reader = XmlReader.Create(inFileName, new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit }))
Microsoft.Build (6)
BackEnd\Components\SdkResolution\SdkResolverManifest.cs (1)
65XmlReaderSettings readerSettings = new XmlReaderSettings()
Construction\ProjectRootElement.cs (1)
192var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Construction\Solution\ProjectInSolution.cs (1)
302var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Construction\Solution\SolutionFile.cs (1)
1148var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Instance\ProjectInstance.cs (1)
2984XmlReaderSettings xrs = new XmlReaderSettings
SolutionConfiguration.cs (1)
117var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Microsoft.Build.BuildCheck.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\Project_Tests.cs (1)
306using XmlReader reader = XmlReader.Create(new StringReader(emptyProject + emptyProject), new XmlReaderSettings { ConformanceLevel = ConformanceLevel.Fragment });
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Engine.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Tasks.Core (31)
AddToWin32Manifest.cs (1)
160using (XmlReader xr = XmlReader.Create(stream, new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }))
AppConfig\AppConfig.cs (1)
28var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
AssemblyDependency\GenerateBindingRedirects.cs (1)
339var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
BootstrapperUtil\BootstrapperBuilder.cs (2)
542var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }; 832XmlReaderSettings xmlReaderSettings = new XmlReaderSettings();
GenerateApplicationManifest.cs (1)
455var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
GenerateResource.cs (1)
1767XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\ApplicationManifest.cs (1)
530var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\AssemblyIdentity.cs (2)
196var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }; 214var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
ManifestUtil\DeployManifest.cs (1)
216var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\Manifest.cs (1)
379var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\ManifestReader.cs (3)
62var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 231var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = false }; 245var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = false };
ManifestUtil\mansign2.cs (1)
619XmlReaderSettings settings = new XmlReaderSettings();
ManifestUtil\SecurityUtil.cs (2)
214new XmlReaderSettings 697var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\TrustInfo.cs (2)
455var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 705var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
RedistList.cs (1)
662var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
SolutionConfiguration.cs (1)
117var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
XamlTaskFactory\RelationsParser.cs (2)
188XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }; 216XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
XmlPeek.cs (2)
178var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 284var settings = new XmlReaderSettings
XmlPoke.cs (2)
68XmlReaderSettings xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 164var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
XslTransformation.cs (3)
216XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 333return XmlReader.Create(new StreamReader(_data[itemPos]), new XmlReaderSettings { CloseInput = true }, _data[itemPos]); 470using (XmlReader reader = XmlReader.Create(new StreamReader(_data), new XmlReaderSettings { CloseInput = true }, _data))
Microsoft.Build.Tasks.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
724XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Microsoft.Build.Utilities.Core (3)
PlatformManifest.cs (1)
99XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
SDKManifest.cs (1)
318XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ToolLocationHelper.cs (1)
3131XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.CodeAnalysis (4)
Desktop\AssemblyPortabilityPolicy.cs (1)
54private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings()
DocumentationComments\DocumentationCommentIncludeCache.cs (1)
40private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings()
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
34private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit };
RuleSet\RuleSetProcessor.cs (1)
274XmlReaderSettings xmlReaderSettings = new XmlReaderSettings();
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
630var settings = new XmlReaderSettings
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\XmlFragmentParser.cs (1)
52private static readonly XmlReaderSettings s_xmlSettings = new()
Utilities\Documentation\XmlDocumentationProvider.cs (1)
95private static readonly XmlReaderSettings s_xmlSettings = new()
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
284private static readonly XmlReaderSettings s_xmlSettings = new()
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
21private static readonly XmlReaderSettings s_xmlReaderSettings = new()
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
41var readerSettings = new XmlReaderSettings()
Microsoft.VisualStudio.LanguageServices (1)
ColorSchemes\ColorSchemeApplier.ColorSchemeReader.cs (1)
21private static readonly XmlReaderSettings s_xmlSettings = new() { DtdProcessing = DtdProcessing.Prohibit };
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
224XmlReaderSettings settings = new XmlReaderSettings();
PresentationFramework (4)
System\Windows\Documents\FixedFindEngine.cs (1)
373XmlReaderSettings settings = new XmlReaderSettings();
System\Windows\Documents\FixedSchema.cs (3)
260XmlReaderSettings xmlReaderSettings = new XmlReaderSettings(); 345_xmlReaderSettings = new XmlReaderSettings(); 747_xmlReaderSettings = new XmlReaderSettings();
System.Data.Common (3)
System\Data\ProviderBase\SchemaMapping.cs (1)
342System.Xml.XmlReaderSettings settings = new System.Xml.XmlReaderSettings();
System\Data\SQLTypes\SqlXml.cs (2)
20private static readonly XmlReaderSettings s_defaultXmlReaderSettings = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment }; 21private static readonly XmlReaderSettings s_defaultXmlReaderSettingsCloseInput = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment, CloseInput = true };
System.IO.Packaging (2)
System\IO\Packaging\PartBasedPackageProperties.cs (1)
479XmlReaderSettings xrs = new XmlReaderSettings();
System\IO\Packaging\ZipPackage.cs (1)
963XmlReaderSettings xrs = new XmlReaderSettings();
System.Private.Xml (16)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
395XmlReaderSettings settings = new XmlReaderSettings();
System\Xml\Core\XmlAsyncCheckReader.cs (1)
74settings = new XmlReaderSettings();
System\Xml\Core\XmlCharCheckingReader.cs (1)
74settings = new XmlReaderSettings();
System\Xml\Core\XmlReaderSettings.cs (1)
15internal static readonly XmlReaderSettings s_defaultReaderSettings = new() { ReadOnly = true };
System\Xml\Core\XmlTextReaderImpl.cs (1)
826XmlReaderSettings settings = new XmlReaderSettings();
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
272settings = new XmlReaderSettings();
System\Xml\Core\XsdValidatingReader.cs (1)
200settings = settings != null ? settings.Clone() : new XmlReaderSettings();
System\Xml\Schema\Preprocessor.cs (1)
209get => _readerSettings ??= new XmlReaderSettings() { DtdProcessing = DtdProcessing.Prohibit };
System\Xml\Schema\XmlSchemaAttribute.cs (1)
121XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\Schema\XmlSchemaElement.cs (1)
197XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\Schema\XmlSchemaSet.cs (1)
102_readerSettings = new XmlReaderSettings();
System\Xml\Schema\XmlSchemaType.cs (1)
211XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\Serialization\XmlSerializer.cs (1)
447XmlReader xmlReader = XmlReader.Create(stream, new XmlReaderSettings() { IgnoreWhitespace = true });
System\Xml\XPath\XPathNavigator.cs (1)
1068XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\XPath\XPathNavigatorReader.cs (1)
168XmlReaderSettings rs = new XmlReaderSettings();
System\Xml\Xsl\QueryReaderSettings.cs (1)
27_xmlReaderSettings = new XmlReaderSettings();
System.Private.Xml.Linq (2)
System\Xml\Linq\XNode.cs (1)
674XmlReaderSettings rs = new XmlReaderSettings();
System\Xml\Linq\XNodeReader.cs (1)
350XmlReaderSettings settings = new XmlReaderSettings();
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\Utils.cs (3)
189XmlReaderSettings settings = new XmlReaderSettings(); 210XmlReaderSettings settings = new XmlReaderSettings(); 233XmlReaderSettings settings = new XmlReaderSettings();
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
119XmlReaderSettings settings = new XmlReaderSettings();
System.Xaml (3)
System\Xaml\InfosetObjects\XamlXmlReader.cs (3)
90return XmlReader.Create(fileName, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 124return XmlReader.Create(stream, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 158return XmlReader.Create(textReader, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit });
VisualBasicSyntaxGenerator (1)
XML\ReadTree.vb (1)
79Dim readerSettings As New XmlReaderSettings()
205 references to XmlReaderSettings
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (1)
20private static readonly XmlReaderSettings s_xmlReaderSettings;
Microsoft.Build (6)
BackEnd\Components\SdkResolution\SdkResolverManifest.cs (1)
65XmlReaderSettings readerSettings = new XmlReaderSettings()
Construction\ProjectRootElement.cs (1)
192var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Construction\Solution\ProjectInSolution.cs (1)
302var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Construction\Solution\SolutionFile.cs (1)
1148var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Instance\ProjectInstance.cs (1)
2984XmlReaderSettings xrs = new XmlReaderSettings
SolutionConfiguration.cs (1)
117var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Microsoft.Build.BuildCheck.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Engine.OM.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Engine.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Tasks.Core (28)
AppConfig\AppConfig.cs (1)
28var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
AssemblyDependency\GenerateBindingRedirects.cs (1)
339var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
BootstrapperUtil\BootstrapperBuilder.cs (2)
542var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }; 832XmlReaderSettings xmlReaderSettings = new XmlReaderSettings();
GenerateApplicationManifest.cs (1)
455var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
GenerateResource.cs (1)
1767XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\ApplicationManifest.cs (1)
530var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\AssemblyIdentity.cs (2)
196var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }; 214var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
ManifestUtil\DeployManifest.cs (1)
216var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\Manifest.cs (1)
379var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\ManifestReader.cs (3)
62var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 231var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = false }; 245var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = false };
ManifestUtil\mansign2.cs (1)
619XmlReaderSettings settings = new XmlReaderSettings();
ManifestUtil\SecurityUtil.cs (2)
213var xrSettings = 697var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\TrustInfo.cs (2)
455var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 705var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
RedistList.cs (1)
662var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
SolutionConfiguration.cs (1)
117var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
XamlTaskFactory\RelationsParser.cs (2)
188XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }; 216XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
XmlPeek.cs (2)
178var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 284var settings = new XmlReaderSettings
XmlPoke.cs (2)
68XmlReaderSettings xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore }; 164var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
XslTransformation.cs (1)
216XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Microsoft.Build.Tasks.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
724XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore };
Microsoft.Build.Utilities.Core (3)
PlatformManifest.cs (1)
99XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
SDKManifest.cs (1)
318XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ToolLocationHelper.cs (1)
3131XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.CodeAnalysis (6)
Desktop\AssemblyPortabilityPolicy.cs (1)
54private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings()
DocumentationComments\DocumentationCommentIncludeCache.cs (1)
40private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings()
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
34private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit };
RuleSet\RuleSetProcessor.cs (3)
63XmlReaderSettings settings = GetDefaultXmlReaderSettings(); 272private static XmlReaderSettings GetDefaultXmlReaderSettings() 274XmlReaderSettings xmlReaderSettings = new XmlReaderSettings();
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
630var settings = new XmlReaderSettings
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\XmlFragmentParser.cs (1)
52private static readonly XmlReaderSettings s_xmlSettings = new()
Utilities\Documentation\XmlDocumentationProvider.cs (1)
95private static readonly XmlReaderSettings s_xmlSettings = new()
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
284private static readonly XmlReaderSettings s_xmlSettings = new()
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
21private static readonly XmlReaderSettings s_xmlReaderSettings = new()
Microsoft.Extensions.Configuration.Xml (2)
XmlDocumentDecryptor.cs (1)
62public XmlReader CreateDecryptingXmlReader(Stream input, XmlReaderSettings? settings)
XmlStreamConfigurationProvider.cs (1)
41var readerSettings = new XmlReaderSettings()
Microsoft.VisualStudio.LanguageServices (1)
ColorSchemes\ColorSchemeApplier.ColorSchemeReader.cs (1)
21private static readonly XmlReaderSettings s_xmlSettings = new() { DtdProcessing = DtdProcessing.Prohibit };
netstandard (1)
netstandard.cs (1)
2497[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlReaderSettings))]
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
40public override XmlReaderSettings Settings { get { return _reader.Settings; } }
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
224XmlReaderSettings settings = new XmlReaderSettings();
PresentationFramework (7)
System\Windows\Documents\FixedFindEngine.cs (1)
373XmlReaderSettings settings = new XmlReaderSettings();
System\Windows\Documents\FixedSchema.cs (6)
258public virtual XmlReaderSettings GetXmlReaderSettings() 260XmlReaderSettings xmlReaderSettings = new XmlReaderSettings(); 341public override XmlReaderSettings GetXmlReaderSettings() 540XmlReaderSettings _xmlReaderSettings; 743public override XmlReaderSettings GetXmlReaderSettings() 804XmlReaderSettings _xmlReaderSettings;
System.Data.Common (8)
System\Data\ProviderBase\SchemaMapping.cs (1)
342System.Xml.XmlReaderSettings settings = new System.Xml.XmlReaderSettings();
System\Data\SQLTypes\SqlXml.cs (6)
19private static readonly Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader> s_sqlReaderDelegate = CreateSqlReaderDelegate(); 20private static readonly XmlReaderSettings s_defaultXmlReaderSettings = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment }; 21private static readonly XmlReaderSettings s_defaultXmlReaderSettingsCloseInput = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment, CloseInput = true }; 99XmlReaderSettings settingsToUse = closeInput ? s_defaultXmlReaderSettingsCloseInput : s_defaultXmlReaderSettings; 118private static Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader> CreateSqlReaderDelegate() 122return CreateSqlReaderMethodInfo.CreateDelegate<Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader>>();
System\Data\xmlsaver.cs (1)
3333public override XmlReaderSettings? Settings
System.IO.Packaging (3)
System\IO\Packaging\PartBasedPackageProperties.cs (1)
479XmlReaderSettings xrs = new XmlReaderSettings();
System\IO\Packaging\XmlWrappingReader.cs (1)
25public override XmlReaderSettings? Settings { get { return _reader.Settings; } }
System\IO\Packaging\ZipPackage.cs (1)
963XmlReaderSettings xrs = new XmlReaderSettings();
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
70public override XmlReaderSettings? Settings { get { return InnerReader.Settings; } }
System.Private.Xml (72)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
320public XmlSqlBinaryReader(Stream stream, byte[] data, int len, string baseUri, bool closeInput, XmlReaderSettings settings) 391public override XmlReaderSettings Settings 395XmlReaderSettings settings = new XmlReaderSettings(); 3207XmlReaderSettings settings = this.Settings;
System\Xml\Core\XmlAsyncCheckReader.cs (2)
63public override XmlReaderSettings Settings 67XmlReaderSettings? settings = _coreReader.Settings;
System\Xml\Core\XmlCharCheckingReader.cs (2)
67public override XmlReaderSettings Settings 71XmlReaderSettings? settings = reader.Settings;
System\Xml\Core\XmlReader.cs (22)
89public virtual XmlReaderSettings? Settings => null; 1615return new XmlTextReaderImpl(inputUri, XmlReaderSettings.s_defaultReaderSettings, null, XmlReaderSettings.GetDefaultPermissiveResolver()); 1619public static XmlReader Create(string inputUri, XmlReaderSettings? settings) 1625public static XmlReader Create(string inputUri, XmlReaderSettings? settings, XmlParserContext? inputContext) 1627settings ??= XmlReaderSettings.s_defaultReaderSettings; 1638return new XmlTextReaderImpl(input, null, 0, XmlReaderSettings.s_defaultReaderSettings, null, string.Empty, null, false); 1642public static XmlReader Create(Stream input, XmlReaderSettings? settings) 1648public static XmlReader Create(Stream input, XmlReaderSettings? settings, string? baseUri) 1650settings ??= XmlReaderSettings.s_defaultReaderSettings; 1655public static XmlReader Create(Stream input, XmlReaderSettings? settings, XmlParserContext? inputContext) 1657settings ??= XmlReaderSettings.s_defaultReaderSettings; 1668return new XmlTextReaderImpl(input, XmlReaderSettings.s_defaultReaderSettings, string.Empty, null); 1672public static XmlReader Create(TextReader input, XmlReaderSettings? settings) 1678public static XmlReader Create(TextReader input, XmlReaderSettings? settings, string? baseUri) 1680settings ??= XmlReaderSettings.s_defaultReaderSettings; 1685public static XmlReader Create(TextReader input, XmlReaderSettings? settings, XmlParserContext? inputContext) 1687settings ??= XmlReaderSettings.s_defaultReaderSettings; 1692public static XmlReader Create(XmlReader reader, XmlReaderSettings? settings) 1694settings ??= XmlReaderSettings.s_defaultReaderSettings; 1701internal static XmlReader CreateSqlReader(Stream input, XmlReaderSettings? settings, XmlParserContext inputContext) 1705settings ??= XmlReaderSettings.s_defaultReaderSettings;
System\Xml\Core\XmlReaderSettings.cs (5)
15internal static readonly XmlReaderSettings s_defaultReaderSettings = new() { ReadOnly = true }; 307public XmlReaderSettings Clone() 309XmlReaderSettings clonedSettings = (XmlReaderSettings)MemberwiseClone(); 509XmlReaderSettings? baseReaderSettings = baseReader.Settings;
System\Xml\Core\XmlTextReaderImpl.cs (9)
356private XmlTextReaderImpl(XmlResolver? resolver, XmlReaderSettings settings, XmlParserContext? context) 585internal XmlTextReaderImpl(string uriStr, XmlReaderSettings settings, XmlParserContext? context, XmlResolver uriResolver) 682internal XmlTextReaderImpl(Stream stream, byte[]? bytes, int byteCount, XmlReaderSettings settings, Uri? baseUri, string? baseUriStr, 756internal XmlTextReaderImpl(TextReader input, XmlReaderSettings settings, string baseUriStr, XmlParserContext? context) 809internal XmlTextReaderImpl(string xmlFragment, XmlParserContext? context, XmlReaderSettings settings) 822public override XmlReaderSettings Settings 826XmlReaderSettings settings = new XmlReaderSettings(); 2535return _xmlResolver ?? XmlReaderSettings.GetDefaultPermissiveResolver(); 8999private void SetupFromParserContext(XmlParserContext context, XmlReaderSettings settings)
System\Xml\Core\XmlValidatingReaderImpl.cs (3)
252public override XmlReaderSettings? Settings 256XmlReaderSettings? settings; 1085return s_tempResolver ??= XmlReaderSettings.GetDefaultPermissiveResolver();
System\Xml\Core\XmlWrappingReader.cs (1)
33public override XmlReaderSettings? Settings { get { return reader.Settings; } }
System\Xml\Core\XsdCachingReader.cs (1)
97public override XmlReaderSettings? Settings
System\Xml\Core\XsdValidatingReader.cs (5)
126internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject? partialValidationType) 164internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings) 169private void SetupValidator(XmlReaderSettings readerSettings, XmlReader reader, XmlSchemaObject? partialValidationType) 195public override XmlReaderSettings Settings 199XmlReaderSettings? settings = _coreReader.Settings;
System\Xml\Schema\Preprocessor.cs (2)
57private XmlReaderSettings? _readerSettings; 207internal XmlReaderSettings ReaderSettings
System\Xml\Schema\XmlSchemaAttribute.cs (1)
121XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\Schema\XmlSchemaElement.cs (1)
197XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\Schema\XmlSchemaSet.cs (4)
46private readonly XmlReaderSettings _readerSettings; 109_readerSettings.XmlResolver = XmlReaderSettings.GetDefaultPermissiveResolver(); 235XmlResolver tempResolver = _readerSettings.GetXmlResolver() ?? XmlReaderSettings.GetDefaultPermissiveResolver(); 1208internal XmlReaderSettings ReaderSettings
System\Xml\Schema\XmlSchemaType.cs (1)
211XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\Schema\XmlSchemaValidator.cs (1)
1848XmlReaderSettings readerSettings = _schemaSet.ReaderSettings;
System\Xml\XPath\XPathNavigator.cs (1)
1068XmlReaderSettings readerSettings = new XmlReaderSettings();
System\Xml\XPath\XPathNavigatorReader.cs (2)
164public override XmlReaderSettings Settings 168XmlReaderSettings rs = new XmlReaderSettings();
System\Xml\Xsl\QueryReaderSettings.cs (1)
15private readonly XmlReaderSettings? _xmlReaderSettings;
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (1)
23XmlReaderSettings? readerSettings = baseReader.Settings;
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
74origResolver ??= XmlReaderSettings.GetDefaultPermissiveResolver();
System\Xml\Xslt\XslCompiledTransform.cs (1)
409return XmlReaderSettings.GetDefaultPermissiveResolver();
System\Xml\Xslt\XslTransform.cs (1)
263return XmlReaderSettings.GetDefaultPermissiveResolver();
System.Private.Xml.Linq (42)
System\Xml\Linq\XDocument.cs (19)
200/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 216XmlReaderSettings rs = GetXmlReaderSettings(options); 247/// the underlying <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 263XmlReaderSettings rs = GetXmlReaderSettings(options); 277/// the underlying <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 296XmlReaderSettings rs = GetXmlReaderSettings(options); 330/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 346XmlReaderSettings rs = GetXmlReaderSettings(options); 360/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 379XmlReaderSettings rs = GetXmlReaderSettings(options); 531/// This method uses <see cref="XmlReader.Create(TextReader, XmlReaderSettings)"/>, 534/// <see cref="XmlReaderSettings.IgnoreWhitespace"/> is set to false. See 535/// <see cref="XmlReaderSettings.IgnoreWhitespace"/> for more information on 552XmlReaderSettings rs = GetXmlReaderSettings(options);
System\Xml\Linq\XElement.cs (19)
588/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 604XmlReaderSettings rs = GetXmlReaderSettings(options); 635/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 651XmlReaderSettings rs = GetXmlReaderSettings(options); 665/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 683XmlReaderSettings rs = GetXmlReaderSettings(options); 717/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 733XmlReaderSettings rs = GetXmlReaderSettings(options); 747/// the <see cref="XmlReaderSettings"/> property <see cref="XmlReaderSettings.IgnoreWhitespace"/> 765XmlReaderSettings rs = GetXmlReaderSettings(options); 881/// preserves the Whitespace. See <see cref="XmlReaderSettings.IgnoreWhitespace"/>. 888/// <see cref="XmlReaderSettings"/>' 889/// property <see cref="XmlReaderSettings.IgnoreWhitespace"/> will be set to false. 906XmlReaderSettings rs = GetXmlReaderSettings(options);
System\Xml\Linq\XNode.cs (2)
672internal static XmlReaderSettings GetXmlReaderSettings(LoadOptions o) 674XmlReaderSettings rs = new XmlReaderSettings();
System\Xml\Linq\XNodeReader.cs (2)
346public override XmlReaderSettings Settings 350XmlReaderSettings settings = new XmlReaderSettings();
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\Utils.cs (5)
182XmlReaderSettings settings = GetSecureXmlReaderSettings(xmlResolver); 187internal static XmlReaderSettings GetSecureXmlReaderSettings(XmlResolver? xmlResolver) 189XmlReaderSettings settings = new XmlReaderSettings(); 210XmlReaderSettings settings = new XmlReaderSettings(); 233XmlReaderSettings settings = new XmlReaderSettings();
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
119XmlReaderSettings settings = new XmlReaderSettings();
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
40public override XmlReaderSettings Settings { get { return _reader.Settings; } }
System.Xml (1)
System.Xml.cs (1)
226[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlReaderSettings))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
154[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlReaderSettings))]