On a Csla 4.3.13 project that targets Silverlight 5 I replaced all
public static readonly PropertyInfo
by
private static readonly PropertyInfo
and guess what? It works as it did before.
I know this shouldn't work under Silverlight 3 and 4. Am I correct to conclude that this is due to the reflection changes in Silverlight 5?
Yes, Silverlight 5 added the ability to use private reflection. As a result, a ton of the work we did to support SL2/3/4 would no longer be necessary today :)
Yes, Silverlight 5 added the ability to use private reflection. As a result, a ton of the work we did to support SL2/3/4 would no longer be necessary today :)
<SarcasticMode on>
That's what I like about Microsoft: stability and persistent ideas..
<SarcasticMode off>
Copyright (c) Marimer LLC