Hi Ilóna,
On 6/19/07, Ilóna <[EMAIL PROTECTED]> wrote:
> I have found a bug in the class ImportContext (SVN).
Thanks for the report!
> If you can change the methods as follows(used in an older version) the
> bug should be fixed :-)
>
> public TypeReference Import (TypeReference type)
> {
> return m_importer == null ? type :
> m_importer.ImportTypeReference(type, this);
> }
>
> public MethodReference Import (MethodReference meth)
> {
> return m_importer == null ? meth :
> m_importer.ImportMethodReference(meth, this);
> }
>
> public FieldReference Import (FieldReference field)
> {
> return m_importer == null ? field :
> m_importer.ImportFieldReference(field, this);
> }
It should be fixed in SVN:
http://lists.ximian.com/pipermail/mono-patches/2007-June/095018.html
--
Jb
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---