[IronPython] overriding methods from C# classes

Marcin Krol mrkafk at gmail.com
Fri Jul 9 11:11:01 PDT 2010


Curt Hagenlocher wrote:
> Yes. It's universally true in the CLR that you can't override a function 
> in a derived class unless the function was marked as virtual in the base 
> class. IronPython is no different than C# in this regard.

One thing that would be *nice* for C# noobs like me would be throwing an 
exception in IPY when a method in a base C# class assembly isn't virtual.

-- 

Regards,
mk

--
Premature optimization is the root of all fun.


More information about the Users mailing list