summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/Platform.cs
diff options
context:
space:
mode:
authorPaul DiPietro <paul.dipietro@me.com>2016-04-12 12:30:27 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-12 12:30:27 -0700
commitb42460c2c32a5b24a3f344121876534e61399140 (patch)
treec65a4dc15ae21c267a2d4ee60d5a40a532be10c5 /Xamarin.Forms.Platform.WinRT/Platform.cs
parent10f6c08ceb89b8b302cb41dd6fe7b1ccf70884ba (diff)
downloadxamarin-forms-b42460c2c32a5b24a3f344121876534e61399140.tar.gz
xamarin-forms-b42460c2c32a5b24a3f344121876534e61399140.tar.bz2
xamarin-forms-b42460c2c32a5b24a3f344121876534e61399140.zip
Enable CS1998 warnings as errors (#65)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/Platform.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/Platform.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/Platform.cs b/Xamarin.Forms.Platform.WinRT/Platform.cs
index 012dd2c4..4d7309d3 100644
--- a/Xamarin.Forms.Platform.WinRT/Platform.cs
+++ b/Xamarin.Forms.Platform.WinRT/Platform.cs
@@ -493,7 +493,9 @@ namespace Xamarin.Forms.Platform.WinRT
return GetCommandBarAsync();
}
+#pragma warning disable 1998 // considered for removal
async Task<CommandBar> GetCommandBarAsync()
+#pragma warning restore 1998
{
#if !WINDOWS_UWP
return _page.BottomAppBar as CommandBar;