ncupper / protobuf-net

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

ValueMembers do not support IgnoreListHandling and Surrogates - patch and test attached #389

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
erik@apption.com

What steps will reproduce the problem?
1. Create a class with a field whose type is configured with IgnoreListHandling 
and a surrogate
2. Serialize

What is the expected output? What do you see instead?
Serialized stream - no exception

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.
I attached a patch with a new regression test and a small fix in ValueMember

Original issue reported on code.google.com by e...@apption.com on 21 Jun 2013 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
sorry for all updates - this fixes a npe from previous patch. Fixes my current 
issues in production.

Original comment by e...@apption.com on 24 Jun 2013 at 2:43

Attachments: