Re: [Python.NET] InvalidOperationException when calling a generic method on an instance

2011-01-25 Thread Oleksii Bidiuk
Hi All, It seems that I was missing the type in the call to a generic method, myClassInstance.MyMethod[type]() seem to work. Sorry for my impatience. 2011/1/25 Oleksii Bidiuk > Hi All, > > does anybody have experience with getting > the InvalidOperationException exception when calling a gener

[Python.NET] InvalidOperationException when calling a generic method on an instance

2011-01-25 Thread Oleksii Bidiuk
Hi All, does anybody have experience with getting the InvalidOperationException exception when calling a generic method defined like generic MyClass::AnotherClass^ MyClass::MyMethod() { ... } When I create an instance of the MyClass and call the MyMethod() the exception mentioned above is throw