47 references to Prohibit
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.Tasks.Core (1)
XmlPeek.cs (1)
286DtdProcessing = prohibitDtd ? DtdProcessing.Prohibit : DtdProcessing.Ignore
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.CSharp.Emit2.UnitTests (1)
PDB\CSharpPDBTestBase.cs (1)
49using (var reader = new XmlTextReader(new StringReader(pdb)) { 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 };
PresentationFramework (1)
System\Windows\Markup\XamlReader.cs (1)
295reader.DtdProcessing = DtdProcessing.Prohibit;
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaExporter.cs (1)
69XmlSchema? schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing = DtdProcessing.Prohibit }, null);
System\Runtime\Serialization\SchemaImporter.cs (1)
53XmlSchema? schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing = DtdProcessing.Prohibit }, null);
System.Private.Xml (24)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
3109if (_dtdProcessing == DtdProcessing.Prohibit) 3210settings.DtdProcessing = DtdProcessing.Prohibit;
System\Xml\Core\XmlCharCheckingReader.cs (2)
217if (_dtdProcessing == DtdProcessing.Prohibit) 293if (_dtdProcessing == DtdProcessing.Prohibit)
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
79if (_dtdProcessing == DtdProcessing.Prohibit) 155if (_dtdProcessing == DtdProcessing.Prohibit)
System\Xml\Core\XmlReaderSettings.cs (7)
201get => _dtdProcessing == DtdProcessing.Prohibit; 205_dtdProcessing = value ? DtdProcessing.Prohibit : DtdProcessing.Parse; 418_dtdProcessing = DtdProcessing.Prohibit; 570if ((_dtdProcessing == DtdProcessing.Prohibit && baseDtdProcessing != DtdProcessing.Prohibit) || 605if ((_dtdProcessing == DtdProcessing.Prohibit && baseReaderSettings.DtdProcessing != DtdProcessing.Prohibit) ||
System\Xml\Core\XmlTextReader.cs (2)
391get { return _impl.DtdProcessing == DtdProcessing.Prohibit; } 392set { _impl.DtdProcessing = value ? DtdProcessing.Prohibit : DtdProcessing.Parse; }
System\Xml\Core\XmlTextReaderImpl.cs (2)
3038case DtdProcessing.Prohibit: 6667if (_dtdProcessing == DtdProcessing.Prohibit)
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
981case DtdProcessing.Prohibit: 4411if (_dtdProcessing == DtdProcessing.Prohibit)
System\Xml\Schema\Preprocessor.cs (1)
209get => _readerSettings ??= new XmlReaderSettings() { DtdProcessing = DtdProcessing.Prohibit };
System\Xml\Schema\XmlSchemaSet.cs (1)
114_readerSettings.DtdProcessing = DtdProcessing.Prohibit;
System\Xml\Xsl\QueryReaderSettings.cs (3)
31_xmlReaderSettings.DtdProcessing = DtdProcessing.Prohibit; 71_prohibitDtd = (impl.DtdProcessing == DtdProcessing.Prohibit); 100readerImpl.DtdProcessing = _prohibitDtd ? DtdProcessing.Prohibit : 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