3 ms·
The main corner case that still causes me problems is that if you want to construct a delegate at runtime, this often forces you to go through the reflection AP
by kevingadd 5y ago
The main corner case that still causes me problems is that if you want to construct a delegate at runtime, this often forces you to go through the reflection APIs to actually grab the method even if you know its full signature, etc. My current project has a JIT compiler for scripts that has this problem (I ended up finding a workaround involving getting LINQ to generate method tokens in an assembly, but .NET Core / .NET 5 deprecated LINQ compilation...)