阅读背景:

是否可以在堆栈上间接加载值类型

来源:互联网 

In Microsoft IL, to call a method on a value type you need an indirect reference. Lets say we have an ILGenerator named "il" and that currently we have a Nullable on top of the stack, if we want to check whether it has a value then we could emit the following:In Microsoft IL, to call a method on a value ty




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: