transferred to 2.5 fix for issue RavenDB-2314
silverlight related fix