reactiveui/ReactiveUI — pull request #619 by recumbent (2014-05-25 12:09:15+00:00)
Title: Actually get actually throws on WinRT should fix #563

The change introduced by 1f9d5307 to fix dependency properties defined in base classes fails to catch an edge case causing WinRT apps to blow up on binding (as the code digs through looking for ways to convert types).

Adding a test for current.BaseType being null to the two methods prevents the exception and looks to me like it shouldn't affect anything else as a null return is a valid result.

I can't see how to easily write a test, however without the fix the MobileSample_WinRT throws and with the fix it doesn't and *appears* to run successfully (he said taking note of comments about the nature of said application).