When inheriting of a class with unsafe methods there are some problems
[Wrapper("AcGiDrawableOverrule")]
public abstract class DrawableOverrule : Overrule
{
public virtual int SetAttributes(Drawable drawable, DrawableTraits traits);
[return: MarshalAs(UnmanagedType.U1)]
public virtual bool WorldDraw(Drawable drawable, WorldDraw wd);
}
When subclassing this class in IronRuby it isn't allowed to call super in this method because that will throw an error
class MySubClass < DrawableOverride
def world_draw(drawable, wd)
super # yields an exception on RubyOverloadResolver.MapSpecialParamaters()
end
end
The expected behaviour is probably that there is no exception and things work