Objects whose lifetimes are managed in this way are called managed data. The runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. The runtime uses metadata to locate and load classes, lay out instances in memory, resolve method invocations, generate native code, enforce security, and set run-time context boundaries. Metadata is stored with the code every loadable common language runtime portable executable (PE) file contains metadata. To enable the runtime to provide services to managed code, language compilers must emit metadata that describes the types, members, and references in your code. For more information, see ECMA C# and Common Language Infrastructure Specifications. ![]() Compilers and tools are able to produce output that the common language runtime can consume because the type system, the format of metadata, and the run-time environment (the virtual execution system) are all defined by a public standard, the ECMA Common Language Infrastructure specification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |