O'Reilly logo

Microsoft® Visual J#™ .NET (Core Reference) by John/Longshaw, Andy Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Metadata and Attributes

In Chapter 2, you saw how classes are compiled into assemblies. Alongside the compiled (MSIL) version of the application code, assemblies contain additional information about each type they contain—the name, together with methods, properties, events, and other items. This is metadata.

Note

Do not confuse metadata with manifests. A manifest contains information about the contents of the assembly and about other assemblies that the contents reference. An assembly contains a single manifest. Metadata holds information about a single type in an assembly, and each type has its own set of metadata.

The ILDASM utility uses the metadata of each type in an assembly to present the contents of that assembly in a tree structure. The .NET ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required