[Mono-list] Accessing extension methods via embedded API

Jonathan Pryor jonpryor at vt.edu
Wed Jul 10 17:29:42 UTC 2013


On Jul 10, 2013, at 11:56 AM, mugginsoft <jonathan at mugginsoft.com> wrote:
> I am trying to access a simple extension method in an embedded mono project.

Extension methods are C# "syntactic sugar" to invoke a static method. Extension methods WILL NOT appear as instance methods on the given type, ever, via both the embedded API and System.Reflection.

You must instead invoke the static method directly.

 - Jon



More information about the Mono-list mailing list