public static void Serializer(global::System.Object untypedInput, global::Orleans.Serialization.BinaryTokenStreamWriter stream, global::System.Type expected)
 {
     global::Orleans.StorageProvider.Arango.TestGrains.MyState input = (global::Orleans.StorageProvider.Arango.TestGrains.MyState)untypedInput;
     global::Orleans.Serialization.SerializationManager.@SerializeInner(input.@DateTimeValue, stream, typeof (global::System.DateTime));
     global::Orleans.Serialization.SerializationManager.@SerializeInner(input.@GuidValue, stream, typeof (global::System.Guid));
     global::Orleans.Serialization.SerializationManager.@SerializeInner(input.@IntValue, stream, typeof (global::System.Int32));
     global::Orleans.Serialization.SerializationManager.@SerializeInner(input.@StringValue, stream, typeof (global::System.String));
 }
 public static global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     global::Orleans.StorageProvider.Arango.TestGrains.MyState result = new global::Orleans.StorageProvider.Arango.TestGrains.MyState();
     global::Orleans.@Serialization.@DeserializationContext.@Current.@RecordObject(result);
     result.@DateTimeValue = (global::System.DateTime)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.DateTime), stream);
     result.@GuidValue = (global::System.Guid)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.Guid), stream);
     result.@IntValue = (global::System.Int32)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.Int32), stream);
     result.@StringValue = (global::System.String)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.String), stream);
     return (global::Orleans.StorageProvider.Arango.TestGrains.MyState)result;
 }
 public static global::System.Object DeepCopier(global::System.Object original)
 {
     global::Orleans.StorageProvider.Arango.TestGrains.MyState input = ((global::Orleans.StorageProvider.Arango.TestGrains.MyState)original);
     global::Orleans.StorageProvider.Arango.TestGrains.MyState result = new global::Orleans.StorageProvider.Arango.TestGrains.MyState();
     global::Orleans.@Serialization.@SerializationContext.@Current.@RecordObject(original, result);
     result.@DateTimeValue = input.@DateTimeValue;
     result.@GuidValue = (global::System.Guid)global::Orleans.Serialization.SerializationManager.@DeepCopyInner(input.@GuidValue);
     result.@IntValue = input.@IntValue;
     result.@StringValue = input.@StringValue;
     return result;
 }