[protobuf] Re: DescriptionPool / DynamicMessages in C# library

2016-03-10 Thread Jon Skeet
Yes, that approach looks like it would handle all the currently-loaded assemblies. I'm not sure that it would help with assemblies which were referenced but hadn't yet been loaded. Ultimately, it depends on what this is for - personally I'd expect that in most cases it would be fine just to exp

[protobuf] Re: DescriptionPool / DynamicMessages in C# library

2016-03-09 Thread Benjamin Krämer
Hi Jon, Am Mittwoch, 9. März 2016 13:59:32 UTC+1 schrieb Jon Skeet: > > Indeed there isn't. It's not clear to me at what point messages would get > registered - after all, a new assembly with extra messages could be loaded > at any point. > I'm not completely up to date on module initialization

[protobuf] Re: DescriptionPool / DynamicMessages in C# library

2016-03-09 Thread Jon Skeet
On Tuesday, 8 March 2016 22:39:28 UTC, Benjamin Krämer wrote: > > I have ported the MessageDifferencer from C++ to C# since I need to look > for changes in various protos. The only thing missing is the unpacking of > the Any messages. > > Therefore I would like to get a descriptor for which I kno