Hey,

On Sat, May 8, 2010 at 2:19 PM, Louis Salin <[email protected]> wrote:
> Why didn't the disassembled IL call the virtual ToString and simply
> performs a regular call instead?

Actually it's safe to use `call` here as Int64 is a value type.

> And why can't I see variables in the
> IL for the get_Now and get_Ticks calls? Are V_0 and V_1 in the IL
> constants that reference some kind of variable storage inside the
> runtime?

Nope, there's nothing special about them. If your code uses stloc_1
and stloc_0, they have to be defined. Look in ildasm at the top  of
the method, there's a definition for each variable used in the method
body.

> Again, thanks a lot for your help! When I'm done with this, I'll try
> to help you out and write something for your FAQ!

Cool, thanks!

-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to