O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DLR Internals

Having seen the use of dynamic in C# 4.0, you will wonder how the dynamic dispatch is achieved at runtime. This is where the collaboration between language binders and the DLR infrastructure enters the picture.

In this section, we look at those components. You learn how the compiler emits call site objects for every dynamic operation carried out. Those call sites act as the entry points into the DLR and as places where the language binder (in C#, this corresponds to the Microsoft.CSharp assembly) is looped in to help determine the right target of dynamic operation invocations.

Because the DLR generates code for specialized high-performance dynamic call sites, the existing (and extended) infrastructure around expression trees, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required