Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to view only the instance methods of an object in Visual Studio's Intellisense?

If I go to visual studio and type MyEnumerable., I'll see a list of all the methods that can executed from that object. This list shows extension methods as well, which is great, but is there a way (a keboard shortcut?) to narrow this list down to not include extension methods?

like image 818
Ben McCormack Avatar asked Jan 20 '10 16:01

Ben McCormack


2 Answers

Other than removing using System.Linq from the top of the file, no.

However, you can look at the type in Object Browser, which will not show extension methods.

like image 90
SLaks Avatar answered Sep 26 '22 03:09

SLaks


I don't know if you can but extension methods have a down arrow between the icon and the name, so you can at least tell them apart from the instance methods.

like image 21
ChrisF Avatar answered Sep 27 '22 03:09

ChrisF