129 references to DtdProcessing
PresentationFramework (1)
src\Framework\System\Windows\Markup\XamlReader.cs (1)
215
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System.Configuration (2)
System\Configuration\ConfigXmlReader.cs (1)
46
DtdProcessing =
DtdProcessing
.Ignore;
System\Configuration\ProtectedConfigurationProvider.cs (1)
24
reader.DtdProcessing =
DtdProcessing
.Ignore;
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
262
readerSettings.DtdProcessing =
DtdProcessing
.Prohibit;
System.Data.Linq (3)
Mapping\MappingSource.cs (3)
145
reader.DtdProcessing =
DtdProcessing
.Prohibit;
185
reader.DtdProcessing =
DtdProcessing
.Prohibit;
204
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System.Data.SqlXml (4)
System\Xml\Xsl\QueryReaderSettings.cs (4)
33
xmlReaderSettings.DtdProcessing =
DtdProcessing
.Prohibit;
65
prohibitDtd = ( impl.DtdProcessing ==
DtdProcessing
.Prohibit );
89
readerImpl.DtdProcessing = prohibitDtd ?
DtdProcessing
.Prohibit :
DtdProcessing
.Parse;
System.Messaging (2)
System\Messaging\XmlMessageFormatter.cs (2)
129
reader.DtdProcessing =
DtdProcessing
.Prohibit;
205
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System.Runtime.Remoting (2)
metadata\wsdlparser.cs (2)
787
_XMLReader = new XmlTextReader(input.InputStream, _primedNametable) { DtdProcessing =
DtdProcessing
.Ignore };
1023
_XMLReader = new XmlTextReader(input.InputStream, _primedNametable) { DtdProcessing =
DtdProcessing
.Ignore };
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaExporter.cs (1)
78
XmlSchema schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
System\Runtime\Serialization\SchemaImporter.cs (1)
54
XmlSchema schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
System.ServiceModel (15)
System\ServiceModel\Channels\MsmqDecodeHelper.cs (1)
445
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System\ServiceModel\Description\MessageContractExporter.cs (6)
1351
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
1357
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
1363
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
1369
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
1375
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
1381
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
System\ServiceModel\Description\WsdlHelper.cs (1)
327
newXsd = XmlSchema.Read(new XmlTextReader(memoryStream) { DtdProcessing =
DtdProcessing
.Parse }, null);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
95
doc.Load(new XmlTextReader(memoryStream) { DtdProcessing =
DtdProcessing
.Prohibit });
System\ServiceModel\EndpointAddress10.cs (1)
70
using (XmlTextReader reader = new XmlTextReader(new StringReader(Schema)) { DtdProcessing =
DtdProcessing
.Prohibit })
System\ServiceModel\EndpointAddressAugust2004.cs (1)
70
using (XmlTextReader reader = new XmlTextReader(new StringReader(Schema)) { DtdProcessing =
DtdProcessing
.Prohibit })
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
464
dom.Load(new XmlTextReader(stream) { DtdProcessing =
DtdProcessing
.Prohibit });
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2313
result = (XmlElement)doc.ReadNode(new XmlTextReader(stream) { DtdProcessing =
DtdProcessing
.Prohibit });
System\ServiceModel\Security\WSTrust.cs (1)
1420
using (XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(new XmlTextReader(stream) { DtdProcessing =
DtdProcessing
.Prohibit }))
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
2068
return XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
System.Web (4)
UI\WebControls\xml.cs (1)
63
readerSettings.DtdProcessing =
DtdProcessing
.Parse;
Util\XmlUtils.cs (3)
62
settings.DtdProcessing =
DtdProcessing
.Parse;
171
xtr.DtdProcessing =
DtdProcessing
.Ignore;
178
settings.DtdProcessing =
DtdProcessing
.Ignore;
System.Web.DataVisualization (2)
Common\Utilities\XmlSerializer.cs (2)
700
DtdProcessing =
DtdProcessing
.Ignore
1945
settings.DtdProcessing =
DtdProcessing
.Prohibit; //don't allow DTD
System.Web.Services (20)
System\Web\Services\Description\ServiceDescription.cs (5)
173
reader.DtdProcessing =
DtdProcessing
.Ignore;
186
reader.DtdProcessing =
DtdProcessing
.Ignore;
327
reader.DtdProcessing =
DtdProcessing
.Prohibit;
339
reader.DtdProcessing =
DtdProcessing
.Prohibit;
591
reader.DtdProcessing =
DtdProcessing
.Ignore;
System\Web\Services\Description\SoapFormatExtensions.cs (1)
47
reader.DtdProcessing =
DtdProcessing
.Ignore;
System\Web\Services\Description\WebReferenceOptions.cs (3)
99
reader.DtdProcessing =
DtdProcessing
.Ignore;
114
readerNew.DtdProcessing =
DtdProcessing
.Prohibit;
125
readerNew.DtdProcessing =
DtdProcessing
.Prohibit;
System\Web\Services\Discovery\ContractReference.cs (1)
225
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System\Web\Services\Discovery\DiscoveryDocument.cs (2)
61
r.DtdProcessing =
DtdProcessing
.Prohibit;
73
r.DtdProcessing =
DtdProcessing
.Prohibit;
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (4)
142
reader.DtdProcessing =
DtdProcessing
.Prohibit;
177
reader.DtdProcessing =
DtdProcessing
.Prohibit;
188
newReader.DtdProcessing =
DtdProcessing
.Prohibit;
197
piReader.DtdProcessing =
DtdProcessing
.Prohibit;
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
58
xmlReader.DtdProcessing =
DtdProcessing
.Prohibit;
System\Web\Services\Discovery\SchemaReference.cs (1)
140
reader.DtdProcessing =
DtdProcessing
.Ignore;
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
275
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
296
reader.DtdProcessing =
DtdProcessing
.Prohibit;
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (1)
904
settings.DtdProcessing =
DtdProcessing
.Parse;
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1619
settings.DtdProcessing =
DtdProcessing
.Parse;
System.Windows.Forms.DataVisualization (2)
Common\Utilities\XmlSerializer.cs (2)
700
DtdProcessing =
DtdProcessing
.Ignore
1945
settings.DtdProcessing =
DtdProcessing
.Prohibit; //don't allow DTD
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
1146
Xml.XmlTextReader reader = new Xml.XmlTextReader(binaryStream) { DtdProcessing =
DtdProcessing
.Prohibit };
AuthoringOM\Design\ComponentSerializationService.cs (2)
196
XmlTextReader reader = new XmlTextReader(this.serializedXmlString, XmlNodeType.Element, null) { DtdProcessing =
DtdProcessing
.Prohibit };
238
using (XmlTextReader reader = new XmlTextReader(stringReader) { DtdProcessing =
DtdProcessing
.Prohibit })
System.Workflow.Runtime (2)
Tracking\TrackingProfileSerializer.cs (2)
32
_schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing =
DtdProcessing
.Prohibit }, null);
841
profileSettings.DtdProcessing =
DtdProcessing
.Prohibit;
System.Xml (61)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
304
DtdProcessing
dtdProcessing;
2508
if (this.dtdProcessing ==
DtdProcessing
.Ignore)
2750
if (this.dtdProcessing ==
DtdProcessing
.Prohibit)
2837
settings.DtdProcessing =
DtdProcessing
.Prohibit;
System\Xml\Core\XmlCharCheckingReader.cs (7)
44
DtdProcessing
dtdProcessing; // -1 means do nothing
54
internal XmlCharCheckingReader( XmlReader reader, bool checkCharacters, bool ignoreWhitespace, bool ignoreComments, bool ignorePis,
DtdProcessing
dtdProcessing )
197
if ( dtdProcessing ==
DtdProcessing
.Prohibit ) {
200
else if ( dtdProcessing ==
DtdProcessing
.Ignore ) {
260
if ( dtdProcessing ==
DtdProcessing
.Prohibit ) {
263
else if ( dtdProcessing ==
DtdProcessing
.Ignore ) {
573
internal XmlCharCheckingReaderWithNS( XmlReader reader, IXmlNamespaceResolver readerAsNSResolver, bool checkCharacters, bool ignoreWhitespace, bool ignoreComments, bool ignorePis,
DtdProcessing
dtdProcessing )
System\Xml\Core\XmlCharCheckingReaderAsync.cs (4)
65
if ( dtdProcessing ==
DtdProcessing
.Prohibit ) {
68
else if ( dtdProcessing ==
DtdProcessing
.Ignore ) {
128
if ( dtdProcessing ==
DtdProcessing
.Prohibit ) {
131
else if ( dtdProcessing ==
DtdProcessing
.Ignore ) {
System\Xml\Core\XmlReaderSettings.cs (19)
60
DtdProcessing
dtdProcessing;
260
return dtdProcessing ==
DtdProcessing
.Prohibit;
264
dtdProcessing = value ?
DtdProcessing
.Prohibit :
DtdProcessing
.Parse;
269
public
DtdProcessing
DtdProcessing {
276
if ((uint)value > (uint)
DtdProcessing
.Parse) {
526
dtdProcessing =
DtdProcessing
.Prohibit;
603
DtdProcessing
dtdProc = (
DtdProcessing
)(-1);
661
DtdProcessing
baseDtdProcessing =
DtdProcessing
.Parse;
667
if ((this.dtdProcessing ==
DtdProcessing
.Prohibit && baseDtdProcessing !=
DtdProcessing
.Prohibit) ||
668
(this.dtdProcessing ==
DtdProcessing
.Ignore && baseDtdProcessing ==
DtdProcessing
.Parse)) {
695
if ((this.dtdProcessing ==
DtdProcessing
.Prohibit && baseReaderSettings.DtdProcessing !=
DtdProcessing
.Prohibit) ||
696
(this.dtdProcessing ==
DtdProcessing
.Ignore && baseReaderSettings.DtdProcessing ==
DtdProcessing
.Parse)) {
System\Xml\Core\XmlTextReader.cs (4)
340
get { return impl.DtdProcessing ==
DtdProcessing
.Prohibit; }
341
set { impl.DtdProcessing = value ?
DtdProcessing
.Prohibit :
DtdProcessing
.Parse; }
344
public
DtdProcessing
DtdProcessing {
System\Xml\Core\XmlTextReaderImpl.cs (12)
206
DtdProcessing
dtdProcessing =
DtdProcessing
.Parse;
1939
internal
DtdProcessing
DtdProcessing {
1947
if ((uint)value > (uint)
DtdProcessing
.Parse) {
2796
case
DtdProcessing
.Prohibit:
2799
case
DtdProcessing
.Ignore:
2802
case
DtdProcessing
.Parse:
5484
if ( dtdInfo == null && fragmentParserContext != null && fragmentParserContext.HasDtdInfo && dtdProcessing ==
DtdProcessing
.Parse ) {
6043
if ( dtdProcessing ==
DtdProcessing
.Prohibit ) {
6072
if (dtdProcessing ==
DtdProcessing
.Parse) {
6083
Debug.Assert(dtdProcessing ==
DtdProcessing
.Ignore);
7144
Throw( dtdProcessing ==
DtdProcessing
.Ignore ? Res.Xml_CannotResolveEntityDtdIgnored : Res.Xml_CannotResolveEntity, entityName );
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
940
case
DtdProcessing
.Prohibit:
943
case
DtdProcessing
.Ignore:
946
case
DtdProcessing
.Parse:
3551
if ( dtdInfo == null && fragmentParserContext != null && fragmentParserContext.HasDtdInfo && dtdProcessing ==
DtdProcessing
.Parse ) {
4095
if ( dtdProcessing ==
DtdProcessing
.Prohibit ) {
4124
if (dtdProcessing ==
DtdProcessing
.Parse) {
4135
Debug.Assert(dtdProcessing ==
DtdProcessing
.Ignore);
4785
Throw( dtdProcessing ==
DtdProcessing
.Ignore ? Res.Xml_CannotResolveEntityDtdIgnored : Res.Xml_CannotResolveEntity, entityName );
System\Xml\Schema\Preprocessor.cs (1)
191
readerSettings.DtdProcessing =
DtdProcessing
.Prohibit;
System\Xml\Schema\XmlSchemaSet.cs (2)
120
readerSettings.DtdProcessing =
DtdProcessing
.Prohibit;
333
DtdProcessing
dtdProcessing = this.readerSettings.DtdProcessing;
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
1991
rs.DtdProcessing =
DtdProcessing
.Parse;