Chapter 7. Advanced Methods

Chapter 6 looked at various facilities for invoking methods. However, once the method has been invoked, control is passed to the target object's method and the fun part is over. This chapter looks at the various facilities provided by the CLR for getting between the caller and the callee and intercepting the invocation process.

It is important to note that parts of the method invocation architecture described in this chapter are likely to evolve considerably in future versions of the CLR. That stated, many of the the concepts and techniques described in this chapter will survive well into the future. The discussion of context in particular is presented here more for completeness than as a recommendation to the reader. ...

Get Essential .NET, Volume 1: The Common Language Runtime now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.