Conerlius / protobuf-net

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

No serializer defined for type: System.Type #248

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please include an e-mail address if this might need a dialogue!
==============

What steps will reproduce the problem?
1. Try and serialize System.Type

What is the expected output? What do you see instead?

I would like for it to work. But I guess this is by design.

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

2.0.0.450

Please provide any additional information below.

Email: robert dot sindall at gmail

Original issue reported on code.google.com by rob...@vouchercloud.com on 9 Nov 2011 at 10:06

GoogleCodeExporter commented 8 years ago
If serialization of System.Type would work out of the box would be very useful 
since right now I have to define proxies/surrogates to work around this.

Original comment by lukas.bu...@gmail.com on 30 Nov 2011 at 12:51

GoogleCodeExporter commented 8 years ago
k; we do already have some handling of Type for the DynamicType option, so I 
suspect this can be tweaked to use that path there without any huge issue

Original comment by marc.gravell on 30 Nov 2011 at 6:44