Go To Definition

You can use the Go to Definition command to navigate to the procedure for a method or a variable definition. For example, if you define a procedure called MyProc(), and then later in your code make a call to MyProc(), you can navigate directly to the procedure for this method using Go to Definition. A feature of Go To Definition is that you can now also use to view reflected source code for compiled types for which the actual source code file is not available in your project. In previous versions you would be directed to the Object Browser, but in Visual Studio 2005 the result you see is the source code as reflected from the metadata in the host assembly. You can access the Go to Definition command from the right-click context menu or by pressing F12.

Select Go To Definition to learn about a type for which there are no source code files



View the reflected source resulting from selecting Go To Definition on a compiled type