Hey, On Sun, Feb 14, 2010 at 1:16 PM, Philip_L <[email protected]> wrote: > System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 > index) > at Mono.Cecil.GenericParameterCollection.get_Item(Int32 index) > at Mono.Cecil.ReflectionReader.GetTypeRefFromSig(SigType t, > GenericContext context) > at Mono.Cecil.ReflectionReader.CreateTypeSpecFromSig(TypeSpec > ts, Int32 index, GenericContext context) > at Mono.Cecil.ReflectionReader.GetTypeSpecAt(UInt32 rid, > GenericContext context) > at Mono.Cecil.Cil.CodeReader.ReadCilBody(MethodBody body, > BinaryReader br) > at Mono.Cecil.Cil.CodeReader.VisitMethodBody(MethodBody body) > at Mono.Cecil.MethodDefinition.LoadBody() > at Mono.Cecil.MethodDefinition.get_Body() > ---- > > The error seems to occur when I use Cecil's visitor model. Is there > any way to fix this? Thanks.
Actually the issue seems to be in the way Cecil reads a generic type spec inside a method body. Could you send me the assembly that contains the method? -- Jb Evain <[email protected]> -- -- mono-cecil
