Open GoogleCodeExporter opened 8 years ago
In code I am using ProtoBufSerializer class
=================
public class ProtoBufSerializer
{
public static byte[] Serialize<T>(T obj)
{
using (var memoryStream = new MemoryStream())
{
Serializer.Serialize(memoryStream, obj);
}
}
public static T Deserialize<T>(byte[] data)
{
using (var memoryStream = new MemoryStream(data))
{
return Serializer.Deserialize<T>(memoryStream);
}
}
}
====================
Also CacheTestUtils.RandomString(100) just generates random strings
Original comment by e...@entechsolutions.com
on 21 Jun 2012 at 12:54
I had the exact same issue (same code).
Workaround: Use an abstract class instead of an interface.
Original comment by b3ls...@gmail.com
on 17 May 2014 at 7:32
Original issue reported on code.google.com by
e...@entechsolutions.com
on 21 Jun 2012 at 12:46