iworklee / protobuf-net

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

Silverlight serialization problems #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In the silverlight runtime, attempt to serialize an object with Xml 
attributes rather than DataContract or ProtoContract attributes.
2. The 1st field is never serialized and is always null upon deserialization
3.

I've attached a patch that resolves the issue.

Cheers

Original issue reported on code.google.com by cape...@gmail.com on 18 Aug 2009 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for delay; busy times...

The "public" fix is fine - but I'm reluctant to change the indexing strategy, 
as that 
has *big* consequences for anybody already using data with xml attributes. I'll 
need to 
investigate to see this issue. I realise it has been a while, but can you 
recall what 
message might reproduce this?

Original comment by marc.gravell on 27 Aug 2009 at 5:30