/// <inheritdoc />
        void IDocumentItem.SerializeXmlCore(XmlWriter writer)
        {
            writer.WriteStartElement(GetSerializedMarkerName(GetType()));
            writer.WriteAttributeString(nameof(ExpressionStart), ExpressionStart.ToFormatString() ?? string.Empty);
            SerializeXml(writer);
            writer.WriteOptions(TagCreationOptions, nameof(TagCreationOptions));

            writer.WriteEndElement();             //GetType().Name
        }
 public void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     info.AddValue(nameof(ExpressionStart), ExpressionStart.ToFormatString());
     info.AddValue(nameof(TagCreationOptions), TagCreationOptions);
     SerializeBinaryCore(info, context);
 }