R#9 Extension Method bug

I have several extension methods which have the same name as existing instance methods on the extended type, but with a different signature. For example:

public static class CommandExtensions
{
    public static IDbDataParameter CreateParameter(this IDbCommand command, string name, DbType dbType)
    {
        ...
    }
}


Code using these extension methods compiles and works as expected.

R#8 would happily auto-complete an extension method call as an extension method call:

var p = command.CreateParameter("@p", DbType.Int32);


R#9 insists on completing them as static method calls, and then offering a context action to convert them to extension method calls:

var p = CommandExtensions.CreateParameter(command, "@p", DbType.Int32);


There doesn't seem to be an option to correct this behaviour.

JetBrains ReSharper Platform 6 Build 6.0.20141204.190160 on 2014-12-04 19:29:31Z
JetBrains ReSharper 9.0 Build 9.0.20141204.190166 on 2014-12-04 19:49:19Z
Microsoft Visual Studio Professional 2013 Version 12.0.31101.00 Update 4

Please sign in to leave a comment.