summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xamarin.Forms.Platform.Tizen/FormsApplication.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
index 0ec10c0..4399efb 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();