public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
{
Message info = (Message)o;
int rc = base.TightMarshal1(wireFormat, o, bs);
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ProducerId, bs);
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.Destination, bs);
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.TransactionId, bs);
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.OriginalDestination, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.MessageId, bs);
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.OriginalTransactionId, bs);
rc += TightMarshalString1(info.GroupID, bs);
rc += TightMarshalString1(info.CorrelationId, bs);
bs.WriteBoolean(info.Persistent);
rc += TightMarshalLong1(wireFormat, info.Expiration, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.ReplyTo, bs);
rc += TightMarshalLong1(wireFormat, info.Timestamp, bs);
rc += TightMarshalString1(info.Type, bs);
bs.WriteBoolean(info.Content!=null);
rc += info.Content==null ? 0 : info.Content.Length+4;
bs.WriteBoolean(info.MarshalledProperties!=null);
rc += info.MarshalledProperties==null ? 0 : info.MarshalledProperties.Length+4;
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.DataStructure, bs);
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.TargetConsumerId, bs);
bs.WriteBoolean(info.Compressed);
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
rc += TightMarshalLong1(wireFormat, info.Arrival, bs);
rc += TightMarshalString1(info.UserID, bs);
bs.WriteBoolean(info.RecievedByDFBridge);
bs.WriteBoolean(info.Droppable);
return rc + 9;
}