What needs to be done in order to serialize enums with protobuf-net? I'm getting the below error when serializing a class having an enum property, if the DataMember attribute is removed from the property declaration it works fine.

"System.InvalidOperationException: Only data-contract classes (and lists/arrays
of such) can be processed"