55 references to XmlDeclaration
dotnet-svcutil-lib (55)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (4)
518
case XmlNodeType.
XmlDeclaration
:
825
else if (XmlNodeType.
XmlDeclaration
== _parentNodeType)
2590
_nodetype = XmlNodeType.
XmlDeclaration
;
3239
|| ((_textXmlReader.NodeType == XmlNodeType.
XmlDeclaration
)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (5)
1288
case XmlNodeType.
XmlDeclaration
:
1459
Debug.Assert(0 == (s_isTextualNodeBitmap & (1 << (int)XmlNodeType.
XmlDeclaration
)));
1486
Debug.Assert(0 == (s_canReadContentAsBitmap & (1 << (int)XmlNodeType.
XmlDeclaration
)));
1513
Debug.Assert(0 != (s_hasValueBitmap & (1 << (int)XmlNodeType.
XmlDeclaration
)));
1996
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderAsync.cs (1)
261
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (3)
564
InitFragmentReader(XmlNodeType.
XmlDeclaration
, context, true);
3087
case XmlNodeType.
XmlDeclaration
:
3655
_curNode.SetNamedNode(XmlNodeType.
XmlDeclaration
, _xml);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (2)
359
if (reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.
XmlDeclaration
)
452
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDeclaration.cs (1)
146
get { return XmlNodeType.
XmlDeclaration
; }
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (8)
415
case XmlNodeType.
XmlDeclaration
:
469
case XmlNodeType.
XmlDeclaration
:
474
return refChild.NodeType != XmlNodeType.
XmlDeclaration
;
478
if (refChild.NodeType != XmlNodeType.
XmlDeclaration
)
489
if (refChild.NodeType != XmlNodeType.
XmlDeclaration
)
708
case XmlNodeType.
XmlDeclaration
:
926
case XmlNodeType.
XmlDeclaration
:
1079
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (4)
146
case XmlNodeType.
XmlDeclaration
:
149
if (firstNode == null || firstNode.NodeType != XmlNodeType.
XmlDeclaration
)
160
if (newChild.NodeType == XmlNodeType.
XmlDeclaration
)
176
if (newChild.NodeType == XmlNodeType.
XmlDeclaration
)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (2)
211
case XmlNodeType.
XmlDeclaration
:
385
Debug.Assert(_reader.NodeType == XmlNodeType.
XmlDeclaration
);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (1)
1452
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (19)
110
Debug.Assert(nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType);
131
Debug.Assert(_curNode.NodeType == XmlNodeType.
XmlDeclaration
|| _curNode.NodeType == XmlNodeType.DocumentType);
137
if (_curNode.NodeType == XmlNodeType.
XmlDeclaration
)
210
case XmlNodeType.
XmlDeclaration
:
232
Debug.Assert(_curNode.NodeType == XmlNodeType.
XmlDeclaration
|| _curNode.NodeType == XmlNodeType.DocumentType);
252
Debug.Assert(nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType);
254
if (_curNode.NodeType == XmlNodeType.
XmlDeclaration
)
261
else if (nt == XmlNodeType.
XmlDeclaration
)
342
|| (_bOnAttrVal && nt != XmlNodeType.
XmlDeclaration
&& nt != XmlNodeType.DocumentType))
344
else if (nt == XmlNodeType.
XmlDeclaration
)
502
case XmlNodeType.
XmlDeclaration
:
527
case XmlNodeType.
XmlDeclaration
:
547
case XmlNodeType.
XmlDeclaration
:
586
return (nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType);
677
else if (nt == XmlNodeType.
XmlDeclaration
&& namespaceURI.Length == 0)
722
case XmlNodeType.
XmlDeclaration
:
756
else if (nt == XmlNodeType.
XmlDeclaration
)
846
case XmlNodeType.
XmlDeclaration
:
1061
Debug.Assert(_curNode.NodeType == XmlNodeType.
XmlDeclaration
|| _curNode.NodeType == XmlNodeType.DocumentType);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
800
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
)));
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (1)
293
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (1)
2208
case XmlNodeType.
XmlDeclaration
:
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (1)
2385
: base(XmlNodeType.
XmlDeclaration
,
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (1)
382
case XmlNodeType.
XmlDeclaration
: