>
> Hi, 
>
>
> Try running peverify on your resulting executable. That's the best
> tool to figure out what's wrong.
>
> Jb
>
>
I do it, i wrote the code manually in C# and compare the result with my 
generated code , the diffrence was just in one thing , at the top of 
manually generated code ILSpy show the following : 

     // Methods
     .method private hidebysig static 
         void Main () cil managed 
     {
         // Method begins at RVA 0x2050
         // Code size 28 (0x1c)
         .maxstack 2
         .entrypoint
         
*.locals init (             [0] uint8[]*

        )



And my code : 

     // Methods
    .method private hidebysig static 
        void Main () cil managed 
    {
        // Method begins at RVA 0x2050
        // Code size 37 (0x25)
        .maxstack 8
        .entrypoint

locate the bolded section,how can i add it to my code ?


 

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to