I have updated Xamarin.Forms nuget package version from 4.8.0.1821 to 5.0.0.1931.
After updating it I am getting this exception in my application where I have implemented