3 ms·
From using it with Xamarin: it’s all well and good until reflection breaks it. Which is manageable in your own code but god help you if you pull in a third part
by taspeotis 8y ago
From using it with Xamarin: it’s all well and good until reflection breaks it. Which is manageable in your own code but god help you if you pull in a third party assembly that uses reflection and your app suddenly breaks between debug and release configurations.
The edit-test-debug cycle for linker problems can be pretty brutal too since compilation and linking takes longer in release than debug.
- kyoukushin 8y agoGood feedback! Haven't had that happen to me yet, but I guess it's just a matter of time.
- oaiey 8y agoI think it is good practice to avoid reflection as a library author. Rarely done right and even then, often source of issues (see here).
- garganzol 8y ago.NET Linker should adopt rd.xml file format. It is used to give hints about parts of the code that rely on reflection. Also consider voting for this to come true: https://github.com/mono/linker/issues/57 https://github.com/mono/linker/issues/57