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?
Please sign in to leave a comment.
Ok, I've found it:
Resharper | Options | Intellisense | Completion Appearance, "Filter members by [EditorBrowsable]" attribute