Austin, Texas (PressExposure) May 26, 2008 -- Microsoft .NET Framework is a software component that is a part of several Microsoft Windows operating systems. Among of its structure includes the Metadata. The Metadata contains information about the assembly, and is also used to implement the reflective programming capabilities of .NET Framework.
All CIL is Self-Describing through .NET metadata. The CLR checks on metadata to ensure that the correct method is called. The .NET metadata, in the Microsoft .NET framework, refers to certain data structures embedded within the Common Intermediate Language code that describes the high-level structure of the code. Visit the austin .net consultant to learn more about this.
Metadata describes all classes and class members that are defined in the assembly, and the classes and class members that the current assembly will call from another assembly. A .NET language compiler will generate the metadata and store this in the assembly containing the CIL. When the CLR executes CIL it will check to make sure that the metadata of the called method is the same as the metadata that is stored in the calling method. Learn more about this with the austin .net consultant.
This ensures that a method can only be called with exactly the right number of parameters and exactly the right parameter types.
Its main trait is that developers can add metadata to their code through attributes. There are two types of attributes, custom and pseudo custom attributes, and to the developer these have the same syntax. Attributes in code are messages to the compiler to generate metadata. Check out what the austin .net consultant has to give about this.
In CIL, metadata such as inheritance modifiers, scope modifiers, and almost anything that isn't either opcodes or streams, are also referred to as attributes.
A custom attribute is a regular class that inherits from the Attribute class. Custom attributes are used by the .NET Framework extensively. If you want more information about the .NET Framework, then visit the austin .net consultant for more details.