Apress

CIL Programming

Under the Hood of .NET

By Jason Bock

CIL Programming Cover Image

The Common Intermediate Language (CIL) is the core language of .NET. In this book, author Jason Bock offers an in-depth tutorial on programming in CIL.

Full Description

  • ISBN13: 978-1-59059-041-6
  • 360 Pages
  • User Level: Beginner to Advanced
  • Publication Date: June 18, 2002
  • Available eBook Formats: PDF
  • Print Book Price: $49.95
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

The Common Intermediate Language (CIL) is the core language of .NET. Although .NET developers often use a high-level language (such as C# or VB .NET) to develop their systems, they can use CIL to do anything allowed by.NET specificationswhich is not the case for C# and VB .NET. Understanding how CIL works will provide you with a deep, language-independent insight into the core parts of .NET. This knowledge is essential for creating dynamic types, a powerful part of the .NET Framework.

In CIL Programming: Under the Hood of .NET, Jason Bock offers an in-depth tutorial on programming in CIL. First, Bock discusses the basics of .NET assemblies and manifests. He then shows how to create assemblies in .NETincluding the ilasm directives and CIL opcodes, and how these are used to define assemblies, classes, field, methods, and method definitions. Bock also covers the ways in which C#, VB .NET, and other non-Microsoft languages emit CIL, and how they differ. Finally, he reveals how developers can create dynamic assemblies at runtime via the Emitter classes.

After reading this guide, you will gain a better understanding of CIL and how to program directly into it. CIL Programming: Under the Hood of .NET is a must-have on every .NET developer's desk!

Table of Contents

Table of Contents

  1. Language Interoperability
  2. ilasm Directives and Attributes
  3. CIL Opcodes
  4. ilasm and CIL in Practice
  5. Debugging CIL
  6. .NET Languages and CIL
  7. Emitting Types
  8. Dynamic Proxies in .NET
  9. CIL Tips
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published