Open GoogleCodeExporter opened 8 years ago
DefaultValueAttribute, as used by multiple parts of the system (not just
protobuf-net) expects **your code** to assign the default. For example in the
constructor or field initializer. The code you show would fail in multiple .NET
usages.
Easy option: assign the property to true in the constructor.
Original comment by marc.gravell
on 6 Apr 2013 at 6:48
Original issue reported on code.google.com by
asvya...@gmail.com
on 6 Apr 2013 at 4:39