c# - Help translating Reflector deconstruction into compilable code -


So I am reflecting some framework code 2.0 and ends with the following deconstruction

  Sustainable (Zero * voidRef3 = ((* Zero *) and `_someMember)) {...}  

This will not be compiled due to 'code' Can not be an expression '

I think reflector is only approximate and generally I can see a clear path but it is a little bit outside of my experience.

Question: Am I trying to describe the reflector?

Update:

See also the following

  is not fixed (IntPtr * ptrRef3 = (soil operator), but about an address operator  

The question is now:

  Fixed (Interrupt * Patra 3 = & amp; _someMember)  

A ' Code> fails to type interactively with 'xxx *' to 'System.IntPtr *'. A clear conversion exists (are you not leaving an artist?) 'compile error. / P>

So I think if I do and Any ideas?

Update:

I think I have thought this. By the moment I return to that expression Which was using the zero * and removed the lattice and VS stopped the complaint and since I gathered the participants in this conversation which is zero * and installer * are equivalent, I just swap them, resulting in:

 < Code> Fixed (Zero * ptrRef3 = & amp; _someMember)  

and VS stopped the complaint. Someone can verify that

  is set (void * ptrRef3 = & amp; nbsp; semember)  

  Equals IntPtr * ptrRef3 = & amp; _someMember)  

?

is detecting this _someMember and it (zero *) (i.e., an indicative address), and then setting the location to that address.

fixed statement 'pin' object, and prevents GC from moving it around.

'& amp;

Have you tried:

    

fixed (zero * voidRef3 = & amp; _someMember) {...}


Comments