CMertens / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Wrong exception - "No parameterless constructor defined for this object." #260

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the attached testcase I get a "No parameterless constructor defined for this 
object." exception, although all involved classes have parameterless 
constructors. A workaround is to make A's parameterless constructor public, 
although in most other cases protobuf-net has had no problem with calling my 
private parameterless constructors.

Original issue reported on code.google.com by logix...@gmail.com on 14 Dec 2011 at 8:27

Attachments: