public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) { base.TightMarshal2(wireFormat, o, dataOut, bs); DiscoveryEvent info = (DiscoveryEvent)o; TightMarshalString2(info.ServiceName, dataOut, bs); TightMarshalString2(info.BrokerName, dataOut, bs); }