Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 30th, 2012  |  syntax: None  |  size: 0.39 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Why isn't LocalBuilder.SetLocalSymInfo emitting variable names?
  2. .method public static string  Function1(int32 A_0) cil managed
  3. {
  4.   // Code size       10 (0xa)
  5.   .maxstack  1
  6.   .locals init (string V_0,
  7.            int32 V_1)
  8.   IL_0000:  ldarg.0
  9.   IL_0001:  stloc.1
  10.   IL_0002:  ldstr      "string value"
  11.   IL_0007:  stloc.0
  12.   IL_0008:  ldloc.0
  13.   IL_0009:  ret
  14. } // end of method Example::Function1