protected internal virtual void WriteXmlCore(XmlWriter writer)
 {
     if (ExtractionMode != default(ExtractionMode))
     {
         writer.WriteAttributeString("mode", ExtractionMode.ToString().ToCamelCase());
     }
 }
 protected internal virtual void WriteXmlCore(XmlWriter writer)
 {
     if (writer == null)
     {
         throw new ArgumentNullException(nameof(writer));
     }
     if (ExtractionMode != default)
     {
         writer.WriteAttributeString("mode", ExtractionMode.ToString().ToCamelCase());
     }
 }