xiaoyanbot
V2EX  ›  .NET

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

  •  
  •   xiaoyanbot · Jun 14, 2017 · 2402 views
    This topic created in 3284 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   ·   5155 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 03:52 · PVG 11:52 · LAX 20:52 · JFK 23:52
    ♥ Do have faith in what you're doing.