Skip to content

Instantly share code, notes, and snippets.

@rushfrisby
Created April 2, 2015 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rushfrisby/bd5ab77ae92e92d122ad to your computer and use it in GitHub Desktop.
Save rushfrisby/bd5ab77ae92e92d122ad to your computer and use it in GitHub Desktop.
Example class that cant be serialized by protobuf-net
[DataContract]
public class MyNameValueInfo
{
[DataMember(Order = 1)]
public string Name { get; set; }
[DataMember(Order = 2)]
public object Value { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment