Siegfried Pammer

Results 199 comments of Siegfried Pammer

I think we can add support for this. Would you be willing to contribute it? I will post some sample code on how to extend the decompiler in the evening.

> effectively what needs to happen is that a `WithEvents` field needs to be replaced with a regular field As far as I can tell, WithEvents fields are implemented as...

Thank you for the suggestion! Currently there is no support for extern aliases in ILSpy's decompiler engine, although the type system and syntax tree have some kind of support for...

> Is there some way I can share my test console application (for which the above screenshots were taken) ? You can just attach the file to an issue comment...

A quick list of TODOs (from the top of my head): * [ ] `ReflectionDisassembler`: check if there are name collisions in the list of references, and generate aliases of...

> I could try to provide a suggestion (code changes) from my end, but might take a while... If you want to implement this feature, let me know... I can...

> I take it that I could use your TODO list above as a pointer into the code. Yes, sorry for the non-existing documentation. If you have any questions or...

The logic that is used to resolve references of assemblies is rather complex. Adding further options to this would make it even more complex. Do you have a concrete suggestion...

The changes in 4f8c588c7b6b932b4341f699fb42f1f0783f6e02 add a fallback so that - if no exact match is found - we try to select a "best match" from the list of loaded assemblies....

You and anyone else are very welcome to contribute this. The decompilation pipeline might need some adjustments / additional information passed in so that the code generated by XAML compilation...