101 references to 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()