This won't work in .NET 3.5 and Silverlight