summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj4
-rw-r--r--Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs2
4 files changed, 7 insertions, 3 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>
diff --git a/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs b/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
index 5c231738..47ff326e 100644
--- a/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
@@ -628,7 +628,7 @@ namespace Xamarin.Forms.Platform.WinRT
}
#endif
- bool _deferSelection;
+ bool _deferSelection = false;
Tuple<object, SelectedItemChangedEventArgs> _deferredSelectedItemChangedEvent;
}
} \ No newline at end of file
diff --git a/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs b/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs
index 7adf009d..4d04a5ee 100644
--- a/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs
@@ -34,7 +34,9 @@ namespace Xamarin.Forms.Platform.WinRT
return true;
}
+#pragma warning disable 0067 // Revisit: Can't remove; required by interface
public event EventHandler CanExecuteChanged;
+#pragma warning restore
public void Execute(object parameter)
{