V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xiaoyanbot
V2EX  ›  .NET

为什么改 IL 代码的类型, 重新编译出来,会出错呢? 显示找不到

  •  
  •   xiaoyanbot · 2017-06-14 22:56:04 +08:00 · 1902 次点击
    这是一个创建于 2479 天前的主题,其中的信息可能已经有所发展或是发生改变。

    IL_0008: ldc.i4 0x186b1

    IL_000d: stfld uint16 Demo.e::c

    //IL_000d: stfld int32 Demo.e::c

    IL_0012: ldarg.0

    IL_0013: call class Demo.n Demo.n::a()

    IL_0018: stfld class Demo.n Demo.e::e

    如上,第三行,我将类型 uint16 改为 int32 为什么会报错呢?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2735 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 12:36 · PVG 20:36 · LAX 05:36 · JFK 08:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.