.NET IL Assembler [electronic resource] /
Lidin, Serge.author.
Advanced .NET IL Assembler is a comprehensive drill-down into the inner workings of the .NET Framework. Acknowledged runtime expert and Microsoft insider Serge Lidin steps through the internal structures and operations that take place when .NET code is executed, showing how the syntax and grammar of the coding language is broken down into low-level units that can be expressed through the ILAsm language that runs behind the scenes in .NET. By reading this book you will develop the skills you need to write tighter, faster, .NET code; to debug complex error handling situations; and to oversee multi-language and multi-platform projects with confidence.
Contents at a Glance; Introduction; Chapter 1: Simple Sample; Basics of the Common Language Runtime; Simple Sample: The Code; Program Header; Class Declaration; Field Declaration; Method Declaration; Global Items; Mapped Fields; Data Declaration; Value Type As Placeholder; Calling Unmanaged Code; Forward Declaration of Classes; Summary; Chapter 2: Enhancing the Code; Compacting the Code; Protecting the Code; Summary; Chapter 3: Making the Coding Easier; Aliasing; Compilation Control Directives; Referencing the Current Class and Its Relatives; Summary
Chapter 4: The Structure of a Managed Executable FilePE/COFF Headers; MS-DOS Header/Stub and PE Signature; COFF Header; PE Header; Data Directory Table; Section Headers; Common Language Runtime Header; Header Structure; Flags Field; EntryPointToken Field; VTableFixups Field; StrongNameSignature Field; Relocation Section; Text Section; Data Sections; Data Constants; V-Table; Unmanaged Export Table; Thread Local Storage; Resources; Unmanaged Resources; Managed Resources; Summary; Phase 1: Initialization; Phase 2: Source Code Parsing; Phase 3: Image Generation; Phase 4: Completion
Chapter 5: Metadata Tables OrganizationWhat Is Metadata?; Heaps and Tables; Heaps; General Metadata Header; Metadata Table Streams; RIDs and Tokens; RIDs; Tokens; Coded Tokens; Metadata Validation; Summary; Chapter 6: Modules and Assemblies; What Is an Assembly?; Private and Shared Assemblies; Application Domains As Logical Units of Execution; Manifest; Assembly Metadata Table and Declaration; AssemblyRef Metadata Table and Declaration; Autodetection of Referenced Assemblies; The Loader in Search of Assemblies; Module Metadata Table and Declaration; ModuleRef Metadata Table and Declaration
File Metadata Table and DeclarationManaged Resource Metadata and Declaration; ExportedType Metadata Table and Declaration; Order of Manifest Declarations in ILAsm; Single-Module and Multimodule Assemblies; Summary of Metadata Validity Rules; Assembly Table Validity Rules; AssemblyRef Table Validity Rules; Module Table Validity Rules; ModuleRef Table Validity Rules; File Table Validity Rules; ManifestResource Table Validity Rules; ExportedType Table Validity Rules; Chapter 7: Namespaces and Classes; Class Metadata; TypeDef Metadata Table; TypeRef Metadata Table; InterfaceImpl Metadata Table
NestedClass Metadata TableClassLayout Metadata Table; Namespace and Full Class Name; ILAsm Naming Conventions; Namespaces; Full Class Names; Class Attributes; Flags; Class Visibility and Friend Assemblies; Class References; Parent of the Type; Interface Implementations; Class Layout Information; Interfaces; Value Types; Boxed and Unboxed Values; Instance Members of Value Types; Derivation of Value Types; Enumerations; Delegates; Nested Types; Class Augmentation; Summary of the Metadata Validity Rules; TypeDef Table Validity Rules; Enumeration-Specific Validity Rules
TypeRef Table Validity Rules
"Advanced"--Cover.
Includes index.
Advanced .NET IL Assembler is a comprehensive drill-down into the inner workings of the .NET Framework. Acknowledged runtime expert and Microsoft insider Serge Lidin steps through the internal structures and operations that take place when .NET code is executed, showing how the syntax and grammar of the coding language is broken down into low-level units that can be expressed through the ILAsm language that runs behind the scenes in .NET. By reading this book you will develop the skills you need to write tighter, faster, .NET code; to debug complex error handling situations; and to oversee multi-language and multi-platform projects with confidence.
Microsoft .NET Framework.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.