4 references to WriteState
System.Runtime.Serialization (4)
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
157
if (writer.
WriteState
!= WriteState.Element)
159
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.XmlWriterMustBeInElement, writer.
WriteState
)));
167
if (writer.
WriteState
!= WriteState.Element)
168
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.XmlWriterMustBeInElement, writer.
WriteState
)));