In Visual Studio 2012 I'd like to navigate to the MapHttpRoute method from the HttpRouteCollection class.
So for example if I go to the definition of Routes of Routes.MapHttpRoute(), I see Routes is an instance of HttpRouteCollection class. However if I check the definition of HttpRouteCollection I can't find the MapHttpRoute method. Are extension methods hidden?
No, they aren't hidden. They are extension methods that reside in the HttpRouteCollectionExtensions
static class, and since you're using an instance of HttpRouteCollection
, you're seeing them as an available API.
Another way you can tell, should this scenario come up in the future, is to look at the documentation for the method in question.