This code was imported from:

https://Silverlight.svn.codeplex.com/svn/Development/Quality/Silverlight
revision 7997

