Resharper intellisense confusion

Posted by Mystere Man on Stack Overflow See other posts from Stack Overflow or by Mystere Man
Published on 2010-06-15T19:13:02Z Indexed on 2010/06/15 19:22 UTC
Read the original article Hit count: 170

Filed under:
|
|

Today I had something weird happen in my copy of Resharper 5. I have a class that looks like this:

public class Foo
{
    public string Username { get; private set; }

    public Foo (string userName) { Username = userName; }

    public void Bar()
    {
        DoWork(Username);
    }

    public DoWork(string userName) { }
}

When I start to type DoWork(us I get the following from intellisense:

alt text

Notice that it's pulling up the constructor argument, and it ends with a colon: userName:

What's going on here?

© Stack Overflow or respective owner

Related posts about c#

Related posts about resharper