What steps will reproduce the problem?
1. Define a enum with data type uint e.g.
[Flags]
public enum StateEnum: uint {
Active = 0x00000001,
Acknowledged = 0x00000002,
Deleted = 0x80000000
}
2. Try to serialize a enum with a value not in range of an int (e.g. 'Deleted')
What is the expected output?
It should serialize correctly.
What do you see instead?
Instead a exception is thrown at "NormalizeProtoMember"/"fieldNumber =
Convert.ToInt32(((FieldInfo)member).GetRawConstantValue());"
Version is V2 (r480)
Regards
Thomas
Original issue reported on code.google.com by t.st...@eckelmann.de on 16 Jul 2012 at 11:16
Original issue reported on code.google.com by
t.st...@eckelmann.de
on 16 Jul 2012 at 11:16