<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jan 9, 2012, at 6:25 PM, Jeff Hardy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">I'm not sure this is documented anywhere.</span></blockquote><br></div><div>It is documented, but the documentation is wrong =)</div><div><br></div><div>From <a href="http://ironpython.net/documentation/dotnet/dotnet.html#extension-methods:">http://ironpython.net/documentation/dotnet/dotnet.html#extension-methods:</a></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 13px; "><a class="reference external" href="http://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.extensionattribute.aspx" style="color: rgb(143, 26, 26); text-decoration: none; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">Extension methods</a>&nbsp;are currently not natively supported by IronPython. Hence, they cannot be invoked like instance methods. Instead, they have to be invoked like static methods.</span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 13px; ">If anyone wants to correct this, feel free to update the documentation and send a pull request:&nbsp;<a href="https://github.com/IronLanguages/main/blob/master/Languages/IronPython/Public/Doc/dotnet-integration.rst">https://github.com/IronLanguages/main/blob/master/Languages/IronPython/Public/Doc/dotnet-integration.rst</a></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 13px; ">~Jimmy</span></div></body></html>