How to hide public methods from IntelliSense

Using the EditorBrowsable attribute like so will cause a method not to be shown in IntelliSense:

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public void MyMethod()
{
}

Leave a Comment