11 references to NodeType
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\ReflectionReader.cs (1)
168if (xmlReader.NodeType == XmlNodeType.EndElement)
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
443return XmlObjectSerializer.CreateSerializationException(TryAddLineInfo(reader, SR.Format(SR.EncounteredWithNameNamespace, errorMessage, reader.NodeType, reader.LocalName, reader.NamespaceURI)));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (8)
261throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, SR.Format(SR.UnexpectedElementExpectingElements, xmlReader.NodeType, xmlReader.LocalName, xmlReader.NamespaceURI, stringBuilder.ToString()))); 269if (xmlReader.NodeType != XmlNodeType.Element) 482if (xmlReader.NodeType == XmlNodeType.EndElement) 490if (xmlReader.NodeType != XmlNodeType.EndElement) 724switch (xmlReader.NodeType) 903if (xmlReader.NodeType == XmlNodeType.EndElement) 964while ((nodeType = xmlReader.NodeType) != XmlNodeType.EndElement) 987else if (IsContentNode(xmlReader.NodeType))
System\Runtime\Serialization\XmlSerializableReader.cs (1)
27if (xmlReader.NodeType != XmlNodeType.Element)