public static global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     global::MOUSE.Core.ActorDisconnected result = new global::MOUSE.Core.ActorDisconnected();
     global::Orleans.@Serialization.@DeserializationContext.@Current.@RecordObject(result);
     result.@Actor = (global::MOUSE.Core.Actors.ActorRef)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::MOUSE.Core.Actors.ActorRef), stream);
     setField1(result, (global::System.Collections.Generic.List<global::MOUSE.Core.MessageHeader>)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.Collections.Generic.List<global::MOUSE.Core.MessageHeader>), stream));
     return (global::MOUSE.Core.ActorDisconnected)result;
 }
 public static global::System.Object DeepCopier(global::System.Object original)
 {
     global::MOUSE.Core.ActorDisconnected input = ((global::MOUSE.Core.ActorDisconnected)original);
     global::MOUSE.Core.ActorDisconnected result = new global::MOUSE.Core.ActorDisconnected();
     result.@Actor = input.@Actor;
     setField1(result, (global::System.Collections.Generic.List<global::MOUSE.Core.MessageHeader>)global::Orleans.Serialization.SerializationManager.@DeepCopyInner(getField1(input)));
     global::Orleans.@Serialization.@SerializationContext.@Current.@RecordObject(original, result);
     return result;
 }