summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.WinRT.Tablet
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-12 18:44:30 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-04-12 18:44:30 (GMT)
commit10f6c08ceb89b8b302cb41dd6fe7b1ccf70884ba (patch)
treeb9bd7f86a3650b2fedcf762b18c25699ff44f82e /Xamarin.Forms.Maps.WinRT.Tablet
parent73defe491f11fc417a22eebcf805ee20df90045a (diff)
downloadxamarin-forms-10f6c08ceb89b8b302cb41dd6fe7b1ccf70884ba.zip
xamarin-forms-10f6c08ceb89b8b302cb41dd6fe7b1ccf70884ba.tar.gz
xamarin-forms-10f6c08ceb89b8b302cb41dd6fe7b1ccf70884ba.tar.bz2
Mop up enabling warnings as errors (#78)
Diffstat (limited to 'Xamarin.Forms.Maps.WinRT.Tablet')
-rw-r--r--Xamarin.Forms.Maps.WinRT.Tablet/MapRenderer.cs2
-rw-r--r--Xamarin.Forms.Maps.WinRT.Tablet/Xamarin.Forms.Maps.WinRT.Tablet.csproj6
2 files changed, 6 insertions, 2 deletions
diff --git a/Xamarin.Forms.Maps.WinRT.Tablet/MapRenderer.cs b/Xamarin.Forms.Maps.WinRT.Tablet/MapRenderer.cs
index b3eba8a..bb3a0da 100644
--- a/Xamarin.Forms.Maps.WinRT.Tablet/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.WinRT.Tablet/MapRenderer.cs
@@ -110,7 +110,9 @@ namespace Xamarin.Forms.Maps.WinRT
void ClearPins()
{
Control.Children.Clear();
+#pragma warning disable 4014 // don't wanna block UI thread
UpdateIsShowingUser();
+#pragma warning restore
}
void RemovePin(Pin pinToRemove)
diff --git a/Xamarin.Forms.Maps.WinRT.Tablet/Xamarin.Forms.Maps.WinRT.Tablet.csproj b/Xamarin.Forms.Maps.WinRT.Tablet/Xamarin.Forms.Maps.WinRT.Tablet.csproj
index 78678de..d8c0c99 100644
--- a/Xamarin.Forms.Maps.WinRT.Tablet/Xamarin.Forms.Maps.WinRT.Tablet.csproj
+++ b/Xamarin.Forms.Maps.WinRT.Tablet/Xamarin.Forms.Maps.WinRT.Tablet.csproj
@@ -42,7 +42,8 @@
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
- <NoWarn>2008;4014</NoWarn>
+ <NoWarn>
+ </NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
@@ -54,7 +55,8 @@
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<Optimize>true</Optimize>
- <NoWarn>2008;4014</NoWarn>
+ <NoWarn>
+ </NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>