Skip to content

Instantly share code, notes, and snippets.

@Dervall
Created February 22, 2012 11:42
Show Gist options
  • Save Dervall/1884433 to your computer and use it in GitHub Desktop.
Save Dervall/1884433 to your computer and use it in GitHub Desktop.
Removing intellisense in fluent interfaces
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IHideObjectMembers
{
[EditorBrowsable(EditorBrowsableState.Never)]
Type GetType();
[EditorBrowsable(EditorBrowsableState.Never)]
int GetHashCode();
[EditorBrowsable(EditorBrowsableState.Never)]
string ToString();
[EditorBrowsable(EditorBrowsableState.Never)]
bool Equals(object obj);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment