title: XML Serialization of an ENUM is empty
body: <p>This is the Enum generated by the XSD</p>
  
  <pre><code>[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
  [System.SerializableAttribute()]
  [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/Utenza.xsd")]
  public enum MeterType {
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlEnumAttribute("a diffalco")]
      adiffalco,
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlEnumAttribute("con diffalco")]
      condiffalco,
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlEnumAttribute("di riserva")]
      diriserva,
  }
  </code></pre>
  
  <p>and.. this is the code i use to serialize</p>
  
  <pre><code>String XmlString = null;
  MemoryStream memoryStream = new MemoryStream();
  XmlSerializer xs = new XmlSerializer(Tipo);
  
  XmlTextWriter xmlTextWriter = new XmlTextWriter(memoryStream, Encoding.UTF8);
  xs.Serialize(xmlTextWriter, pObject);           
  memoryStream = (MemoryStream)xmlTextWriter.BaseStream;
  XmlString = UTF8ByteArrayToString(memoryStream.ToArray());
  </code></pre>
  
  <p>the XML output does not contain the attribute rappresenting the value of the Enum.
  Can someone help? Thanks a lot.</p>