I am getting this error when trying to serialize.
The answer to this question:
How to map System Enum's in Protobuf.Net
indicates that this is related to a Flags
Enum and that it should be handled in V2. The Enum being reported here is not a Flags
Enum:
public enum RunwayDesignator {
NONE = 0,
LEFT = 1,
RIGHT = 2,
CENTER = 3,
WATER = 4,
C = 5,
L = 6,
R = 7,
W = 8,
A = 9,
B = 10,
NOT_APP = 99
}
I assume the '16' refers to something in the Enum although there are not 16 values. I checked also to see if there are any ProtoMember IDs of 16 related to unsages of this enum - there are not. All usages of this enum that are serialized are private fields.
I would appreciate some guidance on how to deal with this.
Mant Thanks