On Sun, Feb 14, 2010 at 1:16 PM, Philip_L <philip.laure
...@gmail.com> 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