79 references to XmlDeclaration
Microsoft.Build (1)
Evaluation\Preprocessor.cs (1)
228
if (child.NodeType == XmlNodeType.
XmlDeclaration
)
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
158
case XmlNodeType.
XmlDeclaration
:
Microsoft.Maui.Controls.Xaml (3)
XamlLoader.cs (3)
70
if (reader.NodeType == XmlNodeType.
XmlDeclaration
)
112
if (reader.NodeType == XmlNodeType.
XmlDeclaration
)
153
if (reader.NodeType == XmlNodeType.
XmlDeclaration
)
PresentationFramework (1)
System\Windows\Documents\FixedSchema.cs (1)
37
if (base.NodeType == XmlNodeType.
XmlDeclaration
)
System.Configuration.ConfigurationManager (4)
System\Configuration\LocalFileSettingsProvider.cs (1)
472
if (child.NodeType == XmlNodeType.
XmlDeclaration
)
System\Configuration\MgmtConfigurationRecord.cs (1)
632
case XmlNodeType.
XmlDeclaration
:
System\Configuration\XmlUtil.cs (2)
84
case XmlNodeType.
XmlDeclaration
:
635
if (nodeType == XmlNodeType.
XmlDeclaration
)
System.Data.Common (6)
System\Xml\DataPointer.cs (5)
524
case XmlNodeType.
XmlDeclaration
:
768
if (child != null && child.NodeType == XmlNodeType.
XmlDeclaration
)
778
if (NodeType == XmlNodeType.
XmlDeclaration
)
799
if (NodeType == XmlNodeType.
XmlDeclaration
)
820
if (NodeType == XmlNodeType.
XmlDeclaration
)
System\Xml\XmlDataDocument.cs (1)
1061
XmlNodeType.
XmlDeclaration
=> CreateXmlDeclaration(dp.Version!, dp.Encoding, dp.Standalone),
System.IO.Packaging (1)
System\IO\Packaging\PackagingUtilities.cs (1)
34
if (reader.Read() && reader.NodeType == XmlNodeType.
XmlDeclaration
&& reader.Depth == 0)
System.Private.DataContractSerialization (3)
System\Xml\XmlBaseReader.cs (2)
1966
case XmlNodeType.
XmlDeclaration
:
2540
: base(XmlNodeType.
XmlDeclaration
,
System\Xml\XmlDictionaryWriter.cs (1)
415
case XmlNodeType.
XmlDeclaration
:
System.Private.Xml (58)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
484
case XmlNodeType.
XmlDeclaration
:
804
else if (XmlNodeType.
XmlDeclaration
== _parentNodeType)
2570
_nodetype = XmlNodeType.
XmlDeclaration
;
3219
|| ((_textXmlReader.NodeType == XmlNodeType.
XmlDeclaration
)
System\Xml\Core\XmlReader.cs (5)
1166
case XmlNodeType.
XmlDeclaration
:
1323
Debug.Assert(0 == (IsTextualNodeBitmap & (1 << (int)XmlNodeType.
XmlDeclaration
)));
1350
Debug.Assert(0 == (CanReadContentAsBitmap & (1 << (int)XmlNodeType.
XmlDeclaration
)));
1377
Debug.Assert(0 != (HasValueBitmap & (1 << (int)XmlNodeType.
XmlDeclaration
)));
1797
case XmlNodeType.
XmlDeclaration
:
System\Xml\Core\XmlReaderAsync.cs (1)
240
case XmlNodeType.
XmlDeclaration
:
System\Xml\Core\XmlTextReaderImpl.cs (3)
556
InitFragmentReader(XmlNodeType.
XmlDeclaration
, context, true);
3011
case XmlNodeType.
XmlDeclaration
:
3603
_curNode.SetNamedNode(XmlNodeType.
XmlDeclaration
, _xml);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
1188
_curNode.SetNamedNode(XmlNodeType.
XmlDeclaration
, _xml);
System\Xml\Core\XmlWriter.cs (2)
317
if (reader.NodeType is XmlNodeType.Element or XmlNodeType.
XmlDeclaration
)
403
case XmlNodeType.
XmlDeclaration
:
System\Xml\Core\XmlWriterAsync.cs (3)
238
if (reader.NodeType is XmlNodeType.Element or XmlNodeType.
XmlDeclaration
)
337
case XmlNodeType.
XmlDeclaration
:
400
case XmlNodeType.
XmlDeclaration
:
System\Xml\Dom\XmlDeclaration.cs (1)
154
get { return XmlNodeType.
XmlDeclaration
; }
System\Xml\Dom\XmlDocument.cs (8)
482
case XmlNodeType.
XmlDeclaration
:
535
case XmlNodeType.
XmlDeclaration
:
540
return refChild.NodeType != XmlNodeType.
XmlDeclaration
;
544
if (refChild.NodeType != XmlNodeType.
XmlDeclaration
)
555
if (refChild.NodeType != XmlNodeType.
XmlDeclaration
)
771
case XmlNodeType.
XmlDeclaration
:
991
case XmlNodeType.
XmlDeclaration
:
1139
case XmlNodeType.
XmlDeclaration
:
System\Xml\Dom\XmlDocumentFragment.cs (4)
142
case XmlNodeType.
XmlDeclaration
:
145
if (firstNode == null || firstNode.NodeType != XmlNodeType.
XmlDeclaration
)
156
if (newChild.NodeType == XmlNodeType.
XmlDeclaration
)
172
if (newChild.NodeType == XmlNodeType.
XmlDeclaration
)
System\Xml\Dom\XmlLoader.cs (2)
205
case XmlNodeType.
XmlDeclaration
:
381
Debug.Assert(_reader!.NodeType == XmlNodeType.
XmlDeclaration
);
System\Xml\Dom\XmlNode.cs (1)
1478
case XmlNodeType.
XmlDeclaration
:
System\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
)
192
case XmlNodeType.
XmlDeclaration
:
214
Debug.Assert(_curNode.NodeType == XmlNodeType.
XmlDeclaration
|| _curNode.NodeType == XmlNodeType.DocumentType);
235
Debug.Assert(nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType);
237
return _curNode.NodeType == XmlNodeType.
XmlDeclaration
?
246
else if (nt == XmlNodeType.
XmlDeclaration
)
336
|| (_bOnAttrVal && nt != XmlNodeType.
XmlDeclaration
&& nt != XmlNodeType.DocumentType))
338
else if (nt == XmlNodeType.
XmlDeclaration
)
496
XmlNodeType.
XmlDeclaration
=> GetDeclarationAttr((XmlDeclaration)_curNode, name),
518
XmlNodeType.
XmlDeclaration
=> (ns.Length == 0) ? GetDeclarationAttr((XmlDeclaration)_curNode, name) : null,
536
case XmlNodeType.
XmlDeclaration
:
575
return (nt == XmlNodeType.
XmlDeclaration
|| nt == XmlNodeType.DocumentType);
667
else if (nt == XmlNodeType.
XmlDeclaration
&& namespaceURI.Length == 0)
712
case XmlNodeType.
XmlDeclaration
:
746
else if (nt == XmlNodeType.
XmlDeclaration
)
838
case XmlNodeType.
XmlDeclaration
:
1053
Debug.Assert(_curNode.NodeType == XmlNodeType.
XmlDeclaration
|| _curNode.NodeType == XmlNodeType.DocumentType);
System\Xml\Schema\Inference\Infer.cs (1)
782
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)
282
case XmlNodeType.
XmlDeclaration
:
System\Xml\XPath\XPathNavigator.cs (1)
2108
case XmlNodeType.
XmlDeclaration
:
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
667
Debug.Assert(_mainNode.NodeType == XmlNodeType.ProcessingInstruction || _mainNode.NodeType == XmlNodeType.
XmlDeclaration
);
System.Private.Xml.Linq (1)
System\Xml\Linq\XDocument.cs (1)
499
if (reader.NodeType == XmlNodeType.
XmlDeclaration
)