1776 Generic Virtual Method Causes Invalid Program: Fix + test by rmadsen-ks · Pull Request #2026 · pythonnet/pythonnet

@rmadsen-ks

- If a method is virtual AND generic, it cannot be overridden by the python class. Hence the method call is deferred to the base class.
- Added a unit test which verifies this behavior is now working.

lostmsu

@rmadsen-ks

elan-ajain pushed a commit to elancapital/pythonnet that referenced this pull request

Feb 17, 2023
…nnet#2026)

- If a method is virtual AND generic, it cannot be overridden by the python class. Hence the method call is deferred to the base class.
- Added a unit test which verifies this behavior is now working.

NOTE: The test causes crash when run from `PythonTestRunner`. See pythonnet#2035