Validate style target at runtime (#6677)
authorAndrei Nitescu <nitescua@yahoo.com>
Fri, 28 Jun 2019 00:19:47 +0000 (03:19 +0300)
committerSamantha Houts <samhouts@users.noreply.github.com>
Fri, 28 Jun 2019 00:19:47 +0000 (17:19 -0700)
commit0c8d9818fb740fd610b248b5411874198dc0355a
treebe43ae6a6ca8e09d642bb4414545795d8af64dce
parent577bc7b06f4eec3b4a78453c8d7efb743e26959e
Validate style target at runtime (#6677)

* Check Style target type at runtime #6268

* Use IsAssignableFrom internal version
fixes #6268
fixes #6535
Xamarin.Forms.Core.UnitTests/StyleTests.cs
Xamarin.Forms.Core/MergedStyle.cs