summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.UAP
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-11 16:56:07 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-11 16:56:07 -0700
commit16e88315e1ed643a2bde053930feb2bae149d34e (patch)
tree4b6a775e9482ac35c2fea5ee609cbd2f78f3cfa5 /Xamarin.Forms.Platform.UAP
parent6072149ad49de76aaf10a92ba77940a2a9b24684 (diff)
downloadxamarin-forms-16e88315e1ed643a2bde053930feb2bae149d34e.tar.gz
xamarin-forms-16e88315e1ed643a2bde053930feb2bae149d34e.tar.bz2
xamarin-forms-16e88315e1ed643a2bde053930feb2bae149d34e.zip
Enable warnings 0649 and 0067 on UAP/WinRT (#73)
Diffstat (limited to 'Xamarin.Forms.Platform.UAP')
-rw-r--r--Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj4
2 files changed, 4 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs b/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs
index c8c09789..e2ccb312 100644
--- a/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs
+++ b/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs
@@ -98,7 +98,9 @@ namespace Xamarin.Forms.Platform.UWP
get { return Element; }
}
+#pragma warning disable 0067 // Revisit: Can't remove; required by interface
public event EventHandler<VisualElementChangedEventArgs> ElementChanged;
+#pragma warning restore
public SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint)
{
diff --git a/Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj b/Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj
index 88aef6fa..ff9775e6 100644
--- a/Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj
+++ b/Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj
@@ -27,7 +27,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
- <NoWarn>1998;0649;0169;0067</NoWarn>
+ <NoWarn>1998;0618;0169</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -38,7 +38,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
- <NoWarn>1998;0649;0169;0067</NoWarn>
+ <NoWarn>1998;0618;0169</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<PlatformTarget>ARM</PlatformTarget>