79 writes to DtdProcessing
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 });
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)
69DtdProcessing = DtdProcessing.Ignore,
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)
2986DtdProcessing = DtdProcessing.Ignore
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 (29)
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 }; 833xmlReaderSettings.DtdProcessing = DtdProcessing.Ignore;
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)
620settings.DtdProcessing = DtdProcessing.Parse;
ManifestUtil\SecurityUtil.cs (2)
216DtdProcessing = DtdProcessing.Ignore, 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 }; 286DtdProcessing = prohibitDtd ? DtdProcessing.Prohibit : DtdProcessing.Ignore
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 (4)
Desktop\AssemblyPortabilityPolicy.cs (1)
56DtdProcessing = DtdProcessing.Prohibit,
DocumentationComments\DocumentationCommentIncludeCache.cs (1)
43DtdProcessing = DtdProcessing.Prohibit
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
34private static readonly XmlReaderSettings s_xmlSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit };
RuleSet\RuleSetProcessor.cs (1)
282xmlReaderSettings.DtdProcessing = DtdProcessing.Prohibit;
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
632DtdProcessing = DtdProcessing.Prohibit,
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\XmlFragmentParser.cs (1)
54DtdProcessing = DtdProcessing.Prohibit,
Utilities\Documentation\XmlDocumentationProvider.cs (1)
97DtdProcessing = DtdProcessing.Prohibit,
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
286DtdProcessing = DtdProcessing.Prohibit,
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
23DtdProcessing = DtdProcessing.Prohibit,
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
44DtdProcessing = DtdProcessing.Prohibit,
Microsoft.VisualStudio.LanguageServices (1)
ColorSchemes\ColorSchemeApplier.ColorSchemeReader.cs (1)
21private static readonly XmlReaderSettings s_xmlSettings = new() { DtdProcessing = DtdProcessing.Prohibit };
System.Private.Xml (11)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
411settings.DtdProcessing = _dtdProcessing; 3210settings.DtdProcessing = DtdProcessing.Prohibit;
System\Xml\Core\XmlCharCheckingReader.cs (1)
99settings.DtdProcessing = _dtdProcessing;
System\Xml\Core\XmlTextReaderImpl.cs (1)
847settings.DtdProcessing = _dtdProcessing;
System\Xml\Core\XsdValidatingReader.cs (1)
180_validator.SchemaSet.ReaderSettings.DtdProcessing = readerSettings.DtdProcessing;
System\Xml\Schema\Preprocessor.cs (1)
209get => _readerSettings ??= new XmlReaderSettings() { DtdProcessing = DtdProcessing.Prohibit };
System\Xml\Schema\XmlSchemaSet.cs (4)
114_readerSettings.DtdProcessing = DtdProcessing.Prohibit; 286_readerSettings.DtdProcessing = dtdProcessing; //reset dtdProcessing setting 897_readerSettings.DtdProcessing = reader.Settings.DtdProcessing; 904_readerSettings.DtdProcessing = v1Reader.DtdProcessing;
System\Xml\Xsl\QueryReaderSettings.cs (1)
31_xmlReaderSettings.DtdProcessing = DtdProcessing.Prohibit;
System.Private.Xml.Linq (1)
System\Xml\Linq\XNode.cs (1)
678rs.DtdProcessing = (DtdProcessing)2;
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\Utils.cs (3)
191settings.DtdProcessing = DtdProcessing.Parse; 212settings.DtdProcessing = DtdProcessing.Parse; 235settings.DtdProcessing = DtdProcessing.Parse;
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)
80readerSettings.DtdProcessing = DtdProcessing.Prohibit
7 references to DtdProcessing
System.Private.Xml (7)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
383_dtdProcessing = settings.DtdProcessing;
System\Xml\Core\XmlReaderSettings.cs (2)
605if ((_dtdProcessing == DtdProcessing.Prohibit && baseReaderSettings.DtdProcessing != DtdProcessing.Prohibit) || 606(_dtdProcessing == DtdProcessing.Ignore && baseReaderSettings.DtdProcessing == DtdProcessing.Parse))
System\Xml\Core\XmlTextReaderImpl.cs (1)
416_dtdProcessing = settings.DtdProcessing;
System\Xml\Core\XsdValidatingReader.cs (1)
180_validator.SchemaSet.ReaderSettings.DtdProcessing = readerSettings.DtdProcessing;
System\Xml\Schema\XmlSchemaSet.cs (2)
283DtdProcessing dtdProcessing = _readerSettings.DtdProcessing; 897_readerSettings.DtdProcessing = reader.Settings.DtdProcessing;