13 references to NodeType
System.Runtime.Serialization (13)
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
402
return XmlObjectSerializer.CreateSerializationException(TryAddLineInfo(reader, SR.GetString(SR.EncounteredWithNameNamespace, errorMessage, reader.
NodeType
, reader.LocalName, reader.NamespaceURI)));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (8)
292
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, SR.GetString(SR.UnexpectedElementExpectingElements, xmlReader.
NodeType
, xmlReader.LocalName, xmlReader.NamespaceURI, stringBuilder.ToString()))));
298
if (xmlReader.
NodeType
!= XmlNodeType.Element)
509
if (xmlReader.
NodeType
== XmlNodeType.EndElement)
517
if (xmlReader.
NodeType
!= XmlNodeType.EndElement)
732
switch (xmlReader.
NodeType
)
903
if (xmlReader.
NodeType
== XmlNodeType.EndElement)
964
while ((nodeType = xmlReader.
NodeType
) != XmlNodeType.EndElement)
986
else if (IsContentNode(xmlReader.
NodeType
))
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (3)
182
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, SR.GetString(SR.AttributeNotFound, Globals.SerializationNamespace, Globals.ClrTypeLocalName, xmlReader.
NodeType
, xmlReader.NamespaceURI, xmlReader.LocalName))));
184
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, SR.GetString(SR.AttributeNotFound, Globals.SerializationNamespace, Globals.ClrAssemblyLocalName, xmlReader.
NodeType
, xmlReader.NamespaceURI, xmlReader.LocalName))));
186
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, SR.GetString(SR.AttributeNotFound, Globals.SerializationNamespace, Globals.ClrTypeLocalName, xmlReader.
NodeType
, xmlReader.NamespaceURI, xmlReader.LocalName))));
System\Runtime\Serialization\XmlSerializableReader.cs (1)
26
if (xmlReader.
NodeType
!= XmlNodeType.Element)