24 overrides of NodeType
PresentationBuildTasks (1)
System.Data.Common (1)
System.IO.Packaging (1)
System.Private.DataContractSerialization (4)
System.Private.Xml (12)
System.Private.Xml.Linq (1)
System.Security.Cryptography.Xml (1)
System.ServiceModel.Primitives (2)
System.Xaml (1)
634 references to NodeType
aspire (1)
dotnet-aot (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
Microsoft.Build (2)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (13)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.Extensions.Configuration.Xml (4)
Microsoft.Maui.Controls.Build.Tasks (5)
Microsoft.Maui.Controls.Xaml (19)
Microsoft.Maui.Graphics (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (10)
PresentationBuildTasks (15)
PresentationCore (7)
PresentationFramework (16)
ReachFramework (5)
System.Configuration.ConfigurationManager (7)
System.Data.Common (51)
System.IO.Packaging (14)
System.Private.DataContractSerialization (19)
System.Private.Xml (330)
System\Xml\Core\XmlReader.cs (57)
108public virtual bool HasValue => HasValueInternal(NodeType);
693if (NodeType == XmlNodeType.Element)
704if (NodeType == XmlNodeType.EndElement)
710while (IsTextualNode(NodeType))
728switch (NodeType)
732return NodeType;
739return NodeType;
742return NodeType;
750throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
760throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
778throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
798throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
804if (NodeType != XmlNodeType.EndElement)
806throw new XmlException(SR.Xml_UnexpectedNodeInSimpleContent, new string[] { NodeType.ToString(), "ReadElementString" }, this as IXmlLineInfo);
825throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
836if (NodeType != XmlNodeType.EndElement)
838throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
857throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
868if (NodeType != XmlNodeType.EndElement)
870throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
887throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
923if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name))
944if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
959if (NodeType != XmlNodeType.Element)
983if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name))
988Debug.Assert(NodeType == XmlNodeType.EndElement || NodeType == XmlNodeType.None || ReadState == ReadState.Error);
1000if (NodeType != XmlNodeType.Element)
1025if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
1030Debug.Assert(NodeType == XmlNodeType.EndElement);
1050nt = NodeType;
1077nt = NodeType;
1110if (NodeType != XmlNodeType.Attribute && NodeType != XmlNodeType.Element)
1121if (NodeType == XmlNodeType.Attribute)
1127if (NodeType == XmlNodeType.Element)
1139int d = NodeType == XmlNodeType.None ? -1 : Depth;
1142switch (NodeType)
1181if (d == Depth && NodeType == XmlNodeType.EndElement)
1193if (NodeType == XmlNodeType.EntityReference)
1213if (NodeType != XmlNodeType.Attribute && NodeType != XmlNodeType.Element)
1224if (NodeType == XmlNodeType.Attribute)
1269if (NodeType != XmlNodeType.Element)
1389if (NodeType == XmlNodeType.Element && !IsEmptyElement)
1399if (NodeType == XmlNodeType.EndElement)
1415if (NodeType != XmlNodeType.Element)
1417throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
1428return CreateReadContentAsException(methodName, NodeType, this as IXmlLineInfo);
1433return CreateReadElementContentAsException(methodName, NodeType, this as IXmlLineInfo);
1438return CanReadContentAs(NodeType);
1471switch (NodeType)
1513if (NodeType != XmlNodeType.Element)
1528XmlNodeType nodeType = NodeType;
1547if (NodeType != XmlNodeType.EndElement)
1549throw new XmlException(SR.Xml_InvalidNodeType, NodeType.ToString());
1779XmlNodeType nt = _reader.NodeType;
System.Private.Xml.Linq (13)
System.Security.Cryptography.Xml (2)
System.ServiceModel.Primitives (63)
System\ServiceModel\Channels\WsrmMessageInfo.cs (8)
1145SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1158SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1173SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1186SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1213SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1234SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1240SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
1251SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.NodeType,
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
579throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, _requestWrapperName, _requestWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
604throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, _responseWrapperName, _responseWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
System.ServiceModel.Syndication (2)
System.Speech (19)
System.Xaml (7)