83 references to XmlDeclaration
PresentationFramework (1)
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
40
if (base.NodeType == XmlNodeType.
XmlDeclaration
)
System.Configuration (4)
System\Configuration\MgmtConfigurationRecord.cs (1)
725
case XmlNodeType.
XmlDeclaration
:
System\Configuration\XmlUtil.cs (3)
101
case XmlNodeType.
XmlDeclaration
:
675
else if (nodeType == XmlNodeType.
XmlDeclaration
) {
1148
case XmlNodeType.
XmlDeclaration
:
System.Data (9)
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
604
case XmlNodeType.
XmlDeclaration
:
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10384
if (feed._source.NodeType == XmlNodeType.
XmlDeclaration
) {
fx\src\data\System\NewXml\DataPointer.cs (5)
426
case XmlNodeType.
XmlDeclaration
:
616
if ( child != null && child.NodeType == XmlNodeType.
XmlDeclaration
)
624
if ( NodeType == XmlNodeType.
XmlDeclaration
) {
638
if ( NodeType == XmlNodeType.
XmlDeclaration
) {
652
if ( NodeType == XmlNodeType.
XmlDeclaration
) {
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
962
case XmlNodeType.
XmlDeclaration
:
fx\src\data\System\NewXml\XPathNodePointer.cs (1)
57
xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.
XmlDeclaration
)] = -1;
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
284
case XmlNodeType.
XmlDeclaration
:
System.Data.Services (3)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
133
case XmlNodeType.
XmlDeclaration
:
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
343
case XmlNodeType.
XmlDeclaration
:
System\Data\Services\WebUtil.cs (1)
1183
case XmlNodeType.
XmlDeclaration
:
System.Data.SqlXml (2)
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
89
case XmlNodeType.
XmlDeclaration
:
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
568
Debug.Assert(this.mainNode.NodeType == XmlNodeType.ProcessingInstruction || this.mainNode.NodeType == XmlNodeType.
XmlDeclaration
);
System.IdentityModel (2)
System\IdentityModel\WrappedReader.cs (2)
298
case XmlNodeType.
XmlDeclaration
:
658
case XmlNodeType.
XmlDeclaration
:
System.Runtime.Serialization (3)
System\Xml\XmlBaseReader.cs (2)
2091
case XmlNodeType.
XmlDeclaration
:
2667
: base(XmlNodeType.
XmlDeclaration
,
System\Xml\XmlDictionaryWriter.cs (1)
920
case XmlNodeType.
XmlDeclaration
:
System.ServiceModel (1)
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
2074
case XmlNodeType.
XmlDeclaration
:
System.Xml (54)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
461
case XmlNodeType.
XmlDeclaration
:
717
else if (XmlNodeType.
XmlDeclaration
== this.parentNodeType)
2261
this.nodetype = XmlNodeType.
XmlDeclaration
;
2845
|| ((this.textXmlReader.NodeType == XmlNodeType.
XmlDeclaration
)
System\Xml\Core\XmlReader.cs (2)
1108
case XmlNodeType.
XmlDeclaration
:
1749
case XmlNodeType.
XmlDeclaration
:
System\Xml\Core\XmlReaderAsync.cs (1)
237
case XmlNodeType.
XmlDeclaration
:
System\Xml\Core\XmlTextReaderImpl.cs (3)
580
InitFragmentReader( XmlNodeType.
XmlDeclaration
, context, true );
2773
case XmlNodeType.
XmlDeclaration
:
3290
curNode.SetNamedNode( XmlNodeType.
XmlDeclaration
, Xml );
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
1122
curNode.SetNamedNode( XmlNodeType.
XmlDeclaration
, Xml );
System\Xml\Core\XmlWriter.cs (2)
336
if (reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.
XmlDeclaration
) {
413
case XmlNodeType.
XmlDeclaration
:
System\Xml\Core\XmlWriterAsync.cs (3)
218
if (reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.
XmlDeclaration
) {
305
case XmlNodeType.
XmlDeclaration
:
365
case XmlNodeType.
XmlDeclaration
:
System\Xml\Dom\XmlDeclaration.cs (1)
129
get { return XmlNodeType.
XmlDeclaration
;}
System\Xml\Dom\XmlDocument.cs (8)
380
case XmlNodeType.
XmlDeclaration
:
428
case XmlNodeType.
XmlDeclaration
:
433
return refChild.NodeType != XmlNodeType.
XmlDeclaration
;
436
if ( refChild.NodeType != XmlNodeType.
XmlDeclaration
) {
445
if ( refChild.NodeType != XmlNodeType.
XmlDeclaration
) {
632
case XmlNodeType.
XmlDeclaration
:
816
case XmlNodeType.
XmlDeclaration
:
954
case XmlNodeType.
XmlDeclaration
:
System\Xml\Dom\XmlDocumentFragment.cs (4)
131
case XmlNodeType.
XmlDeclaration
:
134
if (firstNode == null || firstNode.NodeType != XmlNodeType.
XmlDeclaration
)
144
if (newChild.NodeType == XmlNodeType.
XmlDeclaration
) {
156
if (newChild.NodeType == XmlNodeType.
XmlDeclaration
) {
System\Xml\Dom\XmlLoader.cs (2)
183
case XmlNodeType.
XmlDeclaration
:
334
Debug.Assert( reader.NodeType == XmlNodeType.
XmlDeclaration
);
System\Xml\Dom\XmlNode.cs (1)
1225
case XmlNodeType.
XmlDeclaration
:
System\Xml\Dom\XmlNodeReader.cs (19)
104
Debug.Assert( nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType );
121
Debug.Assert( curNode.NodeType == XmlNodeType.
XmlDeclaration
|| curNode.NodeType == XmlNodeType.DocumentType );
126
if ( curNode.NodeType == XmlNodeType.
XmlDeclaration
)
189
case XmlNodeType.
XmlDeclaration
:
207
Debug.Assert( curNode.NodeType == XmlNodeType.
XmlDeclaration
|| curNode.NodeType == XmlNodeType.DocumentType );
224
Debug.Assert( nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType );
226
if ( curNode.NodeType == XmlNodeType.
XmlDeclaration
)
233
else if ( nt == XmlNodeType.
XmlDeclaration
) {
297
|| ( this.bOnAttrVal && nt != XmlNodeType.
XmlDeclaration
&& nt != XmlNodeType.DocumentType ) )
299
else if ( nt == XmlNodeType.
XmlDeclaration
) {
433
case XmlNodeType.
XmlDeclaration
:
455
case XmlNodeType.
XmlDeclaration
:
473
case XmlNodeType.
XmlDeclaration
: {
506
return ( nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType );
583
else if ( nt == XmlNodeType.
XmlDeclaration
&& namespaceURI.Length == 0 ) {
619
case XmlNodeType.
XmlDeclaration
:
646
} else if ( nt == XmlNodeType.
XmlDeclaration
) {
721
case XmlNodeType.
XmlDeclaration
:
889
Debug.Assert( curNode.NodeType == XmlNodeType.
XmlDeclaration
|| curNode.NodeType == XmlNodeType.DocumentType );
System\Xml\Schema\Inference\Infer.cs (1)
798
do{ xtr.Read();} while( (!xtr.EOF) && ((xtr.NodeType == XmlNodeType.CDATA)||(xtr.NodeType == XmlNodeType.Text) || (xtr.NodeType == XmlNodeType.Comment) || (xtr.NodeType == XmlNodeType.ProcessingInstruction) || (xtr.NodeType == XmlNodeType.Whitespace) || (xtr.NodeType == XmlNodeType.SignificantWhitespace) || (xtr.NodeType == XmlNodeType.
XmlDeclaration
)));
System\Xml\XPath\XPathDocument.cs (1)
265
case XmlNodeType.
XmlDeclaration
:
System\Xml\XPath\XPathNavigator.cs (1)
1855
case XmlNodeType.
XmlDeclaration
:
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
5728
if (reader.NodeType == XmlNodeType.
XmlDeclaration
) {
WindowsBase (2)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
693
if (nodeList[0].NodeType != XmlNodeType.
XmlDeclaration
)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
72
if (reader.Read() && reader.NodeType == XmlNodeType.
XmlDeclaration
&& reader.Depth == 0)