On 9 jan, 15:03, "Jb Evain" <[EMAIL PROTECTED]> wrote:
> Hi Regis,
>
> On 1/9/08, Regis <[EMAIL PROTECTED]> wrote:
>
> > else if (t.IsArray) // deal with complex arrays
> > elementType = new ArrayType (elementType /* R.Vaquette modified */,
> > t.GetArrayRank());
>
> Could you send here a complete (in unified diff format) patch of your
> changes against SVN head?
Could you make the changes yourself? I have no tool available from my
working place...
Thanks a lot in advance!
>
> It's done with the `svn diff` command, TortoiseSVN also have something
> among those lines.
>
>
>
> > My code might be difficult to give in some lines.
> > In fact, the generated IL is:
>
> > .method public hidebysig static void Main() cil managed
> > {
> > .entrypoint
> > // Code size 12 (0xc)
> > .maxstack 3
> > .locals init (string[0...,0...] V_0)
> > IL_0000: ldc.i4.5
> > IL_0001: ldc.i4.4
> > IL_0002: newobj instance void string[0...,0...]::.ctor(int32,
> > int32)
> > IL_0007: stloc V_0
> > IL_000b: ret
> > } // end of method DecalreArraysSample::Main
>
> Could you past the code that generated that?
In fact I use a specific software (called RunSharp) that I am
currently porting on Compact Framework, and yes, I am very close to
succeed! (with a porting of System.Reflection.Emit that I am building
using Cecil ;-)))
So it is very difficult to give you some single lines of code!...
>
> > In fact, it is a bug because the signature generated by this method is
> > different from the Reflectionhelper.GetMethodBaseSignature() return
> > value, so the GetMemberReference() doesn't find a previously added
> > reference.
>
> Then it's likely that we have to change GetMethodBaseSignature, again,
> I'd need some code that trigger the issue.
>
> --
> Jb Evain <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---