public override int Size() { if(this.Content == null && text != null) { int size = DEFAULT_MINIMUM_MESSAGE_SIZE; if(MarshalledProperties != null) { size += MarshalledProperties.Length; } return (size += this.text.Length * 2); } return base.Size(); }