Home
Options

Help on extension method doesn't include this parameter

When opening an extension method like Join, when you type the open parenthesis the pop-up help that provides the overloads do not include the this parameter in the parameter list, e.g. the Join help does not reference a parameter for TOuter.

Comments

  • Options

    Yes, that's by design. Because it displays the help for whatever parameter you're currently typing, there's no way to access the implicit first parameter, unless you call Join like this:

    Enumerable.Join (...
    
  • Options
    edited February 2020

    The help highlights the current parameter as you are typing, but it has no problem showing previous parameters once a comma is typed. Why couldn't it automatically add one/skip the this parameter when highlighting?
    The Enumerable.Join doesn't include the keyword this, so if that was part of the extension method .Join help...

  • Options

    I see this is implemented. It is very nice - thanks!

Sign In or Register to comment.