Hi
I have this code which leads to a peverify error after reading writing
with Cecil 0.9.1.34
public class DoubeFuncClass
{
public void Test() { Test<int>(); Test<int, int>(); }
public void Test<T>() { Test<T, int>(); Test<T, T>(); }
public void Test<T, T1>() { Test<T1>(); Test<T1, T>(); }
}
public class DoubeFuncClass<X>
{
public void Test() { Test<int>(); Test<int, int>(); }
public void Test<T>() { Test<X, int>(); Test<T, X>(); }
public void Test<T, T1>() { Test<T1>(); Test<T1, T>(); }
}
Peverify:
[MD]: Error: MethodSpec method is not generic. [token:0x2B000007]
[MD]: Error: MethodSpec method is not generic. [token:0x2B000008]
[MD]: Error: MethodSpec method is not generic. [token:0x2B000009]
[MD]: Error: MethodSpec method is not generic. [token:0x2B00000A]
[MD]: Error: MethodSpec method is not generic. [token:0x2B00000B]
[MD]: Error: MethodSpec method is not generic. [token:0x2B00000C]
I know this does not look like a real use case but is a stripped down
version of a customer problem.
Jan
--
--
mono-cecil
Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en