If you want to know how to customize every bit of CLR, you should read Steven Pratschner's book
Customizing the Microsoft .NET Framework Common Language Runtime
I feel grateful for Steven to put my name in the acknowledgement list. At the time when Steven was writing the book, I was working remotely in California and I could only help Steven through email.
The contents related to my work are Chapter 7, 8 and 9.