Add fake Platform property to Page to keep Previewer happy (#4355) fixes #4351
authorE.Z. Hart <hartez@users.noreply.github.com>
Fri, 9 Nov 2018 22:18:01 +0000 (15:18 -0700)
committerRui Marinho <me@ruimarinho.net>
Fri, 9 Nov 2018 22:18:01 +0000 (22:18 +0000)
commit003cc44549d68d374cfa987cabec5b27b6a882f2
treecfd000e15b4bb636a15ac740e679b6caf9f2a6b0
parent63f34daa00c235ae2447c935bfffa7151543c3b5
Add fake Platform property to Page to keep Previewer happy (#4355) fixes #4351

* Add fake Platform property to Page to keep Previewer happy: fixes #4351

* Make the fake Platform property internal

* Add unit tests to verify Previewer-required stuff in Core has not be changed

* Adding Obsolete to Page.Platform
Xamarin.Forms.Core.UnitTests/PreviewerReflectionTests.cs [new file with mode: 0644]
Xamarin.Forms.Core.UnitTests/Xamarin.Forms.Core.UnitTests.csproj
Xamarin.Forms.Core/Page.cs