I am considering porting a third-party library to .NET for Windows Store apps. The library makes excessive use of System.Reflection.Emit.OpCodes via calls to the ILGenerator.Emit method overloads.
In the .NET for Windows Store Apps API, the OpCode
structure and OpCodes
class are included, but there is no ILGenerator
class, and as far as I have been able to find out no replacement either.
I am obviously missing something, but: without the ILGenerator
class, what is the purpose of including System.Reflection.Emit.OpCode
and OpCodes
in the .NET for Windows Store apps API?
LocalVariableInfo
is available, but no sensible way I've found to obtain one) – NurmiReflection.Emit
namespace myself so I thought I'd ask, but apparently it is not immediately obvious why onlyOpCode
andOpCodes
remain available after all :-) – Twombly