# Calling super in virtual method implementation

**URL:** <https://www.ruby-forum.com/t/calling-super-in-virtual-method-implementation/170144>\
**Category:** IronRuby\
**Created:** [June 12, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/calling-super-in-virtual-method-implementation/170144 "2009-06-12T20:21:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shayfriedman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Post date:** [June 12, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/calling-super-in-virtual-method-implementation/170144/1 "2009-06-12T20:21:56Z")

</div>

Hi,

I’m trying to implement a CLR virtual method in IronRuby and call super  
within it (so the default implementation will be executed as well).

I then get this error:  
mscorlib:0:in `get\_MethodHandle’: The requested operation is invalid for  
DynamicMethod. (TypeError)

Is it a bug or a by design behavior?

## Thanks! Shay.

Shay F.  
[http://www.ironshay.com](http://www.ironshay.com)  
Follow me: [http://twitter.com/ironshay](http://twitter.com/ironshay)
