Hiding a method from intellisense

Hi, the class below overrides ToString and attempts to hide it from intellisense.

public class Foo
{
        [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
        public override string ToString() { return base.ToString(); }
}

But R# still displays it (moreover, in bold, since it's an override) once I use an instance of Foo.


What should I do to hide methods from R# Intellisense?

1 comment

Ok, I've found it:

Resharper | Options | Intellisense | Completion Appearance, "Filter members by [EditorBrowsable]" attribute

0

Please sign in to leave a comment.