Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide (abstract) classes from Intellisense

I have several abstract classes is class library which would like to hide from Intelisence, how to do that?

like image 453
Tomas Avatar asked Feb 14 '12 09:02

Tomas


1 Answers

Use the attributes, before the class declaration:

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]

edit: if the class code is in your solution, it won't ever hide:

http://social.msdn.microsoft.com/forums/en-US/csharpide/thread/c2d2bd5a-97a5-4886-846d-759173476631/

like image 75
vulkanino Avatar answered Sep 20 '22 07:09

vulkanino