Book description
"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.
"Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Simple Sample
- Chapter 2: Enhancing the Code
- Chapter 3: Making the Coding Easier
- Chapter 4: The Structure of a ManagedExecutable File
- Chapter 5: Metadata Tables Organization
-
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
- The Loader in Search of Assemblies
- Module Metadata Table and Declaration
- ModuleRef Metadata Table and Declaration
- File Metadata Table and Declaration
- Managed 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
- Chapter 7: Namespaces and Classes
- Chapter 8: Primitive Types and Signatures
- Chapter 9: Fields and Data Constants
-
Chapter 10: Methods
- Method Metadata
- Static, Instance, Virtual Methods
- Explicit Method Overriding
- Method Overriding and Accessibility
- Method Header Attributes
- Local Variables
- Class Constructors
- Instance Constructors
- Instance Finalizers
- Variable Argument Lists
- Method Overloading
- Global Methods
- Summary of Metadata Validity Rules
-
Chapter 11: Generic Types
- Generic Type Metadata
- Constraint Flags
- Defining Generic Types in ILAsm
- Addressing the Type Parameters
- Generic Type Instantiations
- Defining Generic Types: Inheritance, Implementation, Constraints
- Defining Generic Types: Cyclic Dependencies
- The Members of Generic Types
- Nested Generic Types
- Summary of the Metadata Validity Rules
- Chapter 12: Generic Methods
- Chapter 13: IL Instructions
- Chapter 14: Managed Exception Handling
- Chapter 15: Events and Properties
- Chapter 16: Custom Attributes
- Chapter 17: Security Attributes
- Chapter 18: Managed and Unmanaged Code Interoperation
- Chapter 19: Multilanguage Projects
-
Appendix A: ILAsm Grammar Reference
- Lexical Tokens
- Data Type Nonterminals
- Identifier Nonterminals
- Class Referencing
- Module-Level Declarations
- Compilation Control Directives
- Module Parameter Declaration
- Manifest Declarations
- Managed Types in Signatures
- Native Types in Marshaling Signatures
- Method and Field Referencing
- Class Declaration
- Field Declaration
- Method Declaration
- Event Declaration
- Property Declaration
- Constant Declarations
- Custom Attribute Declarations
- Security Declarations
- Aliasing of Types, Methods, Fields, and Custom Attributes
- Data Declaration
- Appendix B: Metadata Tables Reference
- Appendix C: IL Instruction Set Reference
- Appendix D: IL Assembler and Disassembler Command-Line Options
- Appendix E: Offline Verification Tool Reference
- Index
Product information
- Title: .NET IL Assembler
- Author(s):
- Release date: June 2014
- Publisher(s): Apress
- ISBN: 9781430267607
You might also like
book
Exploring the .NET Core 3.0 Runtime: Through Code Generation and Metadata Inspection
Explore advanced .NET APIs and create a basic .NET core library with dynamic code generation and …
book
Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types
Leverage .NET 5, Microsoft’s bold new cross-platform implementation, for developing your very own cross-platform custom data …
book
.NET Windows Forms in a Nutshell
.NET Windows Forms are a powerful technology for building a large class of applications for the …
book
Snip, Burn, Solder, Shred
Snip, Burn, Solder, Shred is a geeky toy-making and craft book, stuffed with projects like sewing …