Inspecting Built-in Types

In previous versions of Visual Studio, you could enable the Object Browser window by right-clicking a type in the code editor and then selecting Go to Definition from the context menu. In Visual Studio 2015, Go to Definition is still available, but it now opens the type definition in the code editor itself. This means you can see the source code of built-in .NET types. This feature is also known as Metadata as Source. Figure 2.38 shows, as an example, the source code for the String class, which has been reached by right-clicking the String type in the code editor and then selecting Go to Definition.

Image

FIGURE 2.38 Inspecting ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.