Fixed problem with method group conversions on static methods implemented as inline code (#281)