Generic overloads and ref parameter hell (the return of the Stack overflow)

by Lord Zoltan 4. September 2008 08:22
Trials and tribulations I encountered when I tried to overload a method which took a ref TBase with a generic that took a T : TBase and did the reference conversion for the programmer. A possible bug in the C# compiler is discovered, and a silly stack overflow pops up along the way. [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Technical

More C# generic extension methods - non-interface interface methods

by Lord Zoltan 1. August 2008 09:26
Introducing common functionality for types with generic extension methods for empty interfaces [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Technical

Pseudo-Template Meta-Programming in C# - Part 2

by Administrator 28. July 2008 20:34
Implementing a generic property wrapper using static generics and generic extension methods - with a bit of reflection! [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Technical

Pseudo-Template Meta-Programming in C#

by Administrator 15. June 2008 10:36
Writing static generics to provide class meta-data [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Technical

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen