Weird IDE behavior?

I added a method to a class and for some reason the IDE is showing two ‘instances’ of the method!?
I only added one method.. so it’s not the signature.

Version 2019 Release 1.1

It looks like one of your “as” is lowercase and one is uppercase, which indicates that you may have indeed input it twice somehow (usually when I do this it’s an accidental extra paste).

You should be able to delete the duplicate without issue.

Collapse the group and reopen it. If there’s only one method the other will go away. If not there’s two possibilities:

  1. You really do have two methods.
  2. You have a method and a shared method with exactly the same signature.
1 Like

Why would it matter?