This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


CIL Code, Type Metadata, and the Assembly Manifest



Download 21,46 Mb.
Pdf ko'rish
bet948/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   944   945   946   947   948   949   950   951   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

CIL Code, Type Metadata, and the Assembly Manifest

At its core, an assembly contains CIL code, which as you recall is a platform- and CPU-agnostic

intermediate language. At runtime, the internal CIL is compiled on the fly (using a just-in-time [JIT]

compiler) to platform- and CPU-specific instructions. Given this architecture, .NET assemblies can

indeed execute on a variety of architectures, devices, and operating systems. Although you can live

a happy and productive life without understanding the details of the CIL programming language,

Chapter 19 offers an introduction to the syntax and semantics of CIL.

An assembly also contains metadata that completely describes the format of the contained

types as well as the format of external types referenced by this assembly. The .NET runtime uses this

metadata to resolve the location of types (and their members) within the binary, lay out types in

memory, and facilitate remote method invocations. You’ll check out the details of the .NET meta-

data format in Chapter 16 during our examination of reflection services.

An assembly must also contain an associated 

manifest (also referred to as assembly metadata).

The manifest documents each module within the assembly, establishes the version of the assembly,

and also documents any 

external assemblies referenced by the current assembly (unlike legacy

COM type libraries, which did not provide a way to document external dependencies). As you will

see over the course of this chapter, the CLR makes extensive use of an assembly’s manifest during

the process of locating external assembly references.




Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   944   945   946   947   948   949   950   951   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish