V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xiaoyanbot
V2EX  ›  .NET

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

  •  
  •   xiaoyanbot · Jun 14, 2017 · 2350 views
    This topic created in 3248 days ago, the information mentioned may be changed or developed.

    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 为什么会报错呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6171 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 02:55 · PVG 10:55 · LAX 19:55 · JFK 22:55
    ♥ Do have faith in what you're doing.