Geeks With Blogs
Simon Cooper Peering into the depths of .NET December 2011 Entries
Anatomy of a .NET Assembly - Type forwards
If you've ever had a poke around System.dll or System.Core.dll in Reflector, you may have noticed TypeForwardedToAttributes applied to the assembly: [assembly: TypeForwardedTo(typeof(Lazy... [assembly: TypeForwardedTo(typeof(Lazy... [assembly: TypeForwardedTo(typeof(Acti... [assembly: TypeForwardedTo(typeof(Acti... [assembly: TypeForwardedTo(typeof(Acti... [assembly: TypeForwardedTo(typeof(Acti... This post has a look at what these are, ......

Posted On Friday, December 23, 2011 2:02 PM

Subterranean IL: Explicit overrides
Normally, virtual method overrides in .NET are done implicitly; if a subclass has a virtual method with the same name and signature as a virtual method in a base class, then the method in the subclass overrides the method in the base class: .class public BaseClass { .method public instance virtual string Method1(int32 i1, object o1) { ... } } .class public SubClass extends BaseClass { // this method implicitly overrides BaseClass::Method1 .method public instance virtual string Method1(int32 i1, object ......

Posted On Monday, December 12, 2011 1:02 PM

Copyright © simonc | Powered by: GeeksWithBlogs.net | Join free