summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-11 23:56:07 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-04-11 23:56:07 (GMT)
commit16e88315e1ed643a2bde053930feb2bae149d34e (patch)
tree4b6a775e9482ac35c2fea5ee609cbd2f78f3cfa5 /Xamarin.Forms.Platform.WinRT
parent6072149ad49de76aaf10a92ba77940a2a9b24684 (diff)
downloadxamarin-forms-16e88315e1ed643a2bde053930feb2bae149d34e.zip
xamarin-forms-16e88315e1ed643a2bde053930feb2bae149d34e.tar.gz
xamarin-forms-16e88315e1ed643a2bde053930feb2bae149d34e.tar.bz2
Enable warnings 0649 and 0067 on UAP/WinRT (#73)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs2
2 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs b/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
index 5c23173..47ff326 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 7adf009..4d04a5e 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)
{