I also sent this to [EMAIL PROTECTED] earlier but I
think this list is better.

Not sure if this is the right list, but ROTOR (SSCLI) doesn't appear to like
instructions of the form (v1 of the MS CLR accepts this code).

        tail.
        calli   default
                void (
                class 'libs'.'options'.'option_0',
                class ['mercury']'mercury'.'getopt'.'option_data_0',
                native unsigned int
        )

What happens is a BadImageFormatException is thrown.

The problem occurs in clr/src/vm/jitinterface.cpp at CEEInfo::findMethod
where the token is checked to see whether or not it is mdtMethodDef or an
mdtMemberRef, which it is not.  I think in fact that it is a mdtSignature.
However if I make this change so that it accepts these tokens as well to
the code then I get a MissingMethodException, so obviously the fix is
more difficult.

Removing the tail. prefix avoids the problem.

If this is not the right spot to report this problem, please inform me of
the correct location.

Regards,
Peter Ross

Reply via email to