Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix Device error message reference to Xamarin.Forms.Init
Browse files Browse the repository at this point in the history
Fixes #11527
  • Loading branch information
Eilon committed Jul 23, 2020
1 parent 9c8aa96 commit 761d11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Xamarin.Forms.Core/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static DeviceInfo Info
get
{
if (info == null)
throw new InvalidOperationException("You MUST call Xamarin.Forms.Init(); prior to using it.");
throw new InvalidOperationException("You must call Xamarin.Forms.Forms.Init(); prior to using this property.");
return info;
}
set { info = value; }
Expand All @@ -84,7 +84,7 @@ public static IPlatformServices PlatformServices
get
{
if (s_platformServices == null)
throw new InvalidOperationException("You MUST call Xamarin.Forms.Init(); prior to using it.");
throw new InvalidOperationException("You must call Xamarin.Forms.Forms.Init(); prior to using this property.");
return s_platformServices;
}
set { s_platformServices = value; }
Expand Down

0 comments on commit 761d11f

Please sign in to comment.