diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/FormsApplication.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/FormsApplication.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs index 0ec10c09..4399efb4 100644 --- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs +++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs @@ -99,7 +99,11 @@ namespace Xamarin.Forms.Platform.Tizen throw new NullReferenceException("MainWindow is not prepared. This method should be called in OnCreated()."); } - _application = application ?? throw new ArgumentNullException("application"); + if (null == application) + { + throw new ArgumentNullException("application"); + } + _application = application; Application.Current = application; application.SendStart(); |