Hi JB,

With the newest source you have introduced a problem. This is the
generated code from cecil 0.9.1 from last night:

.class public auto ansi beforefieldinit OrderDetail
    extends [mscorlib]System.Object
    implements
[Telerik.OpenAccess]Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable
{
    .custom instance void
[ClassLibrary1]ClassLibrary1.Persistent1Attribute::.ctor() =
{ Identity=type(ClassLibrary27.OrderDetail/ID) }
    .custom instance void
[Telerik.OpenAccess]Telerik.OpenAccess.PersistentAttribute::.ctor() =
{ Identity=type([mscorlib]OrderDetail/ID) }

As you can see the class ClassLibrary27.OrderDetail/ID is an inner
class in this class. The problem is that in the second attribute the
referenced type is damaged.

The code is:

    [Telerik.OpenAccess.Persistent(Identity = typeof(ID))]
    [ClassLibrary1.Persistent1(Identity = typeof(ID))]
    public partial class OrderDetail
    {
        public class ID
        { ...

The Telerik.OpenAccess.PersistentAttrubute is coming from an assembly
in the Gac, the second attribute is comming from a small example where
i have tried to reproduce it, with no luck.

This was working with your code from the 16th, but I had empty
functions in 64 bit mode and switched today.

I am trying to get this reproduced in a smaller example but maybe you
have an idea.

Thanks

Jan

-- 
--
mono-cecil

Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en

Reply via email to