From b2ad3e53a8ae03536cf9071b0bd5d0207ee2f10c Mon Sep 17 00:00:00 2001 From: Paul DiPietro Date: Mon, 11 Apr 2016 09:50:28 -0700 Subject: Enable CS0618 warnings as errors (#72) CS0618 occurs when using an obsolete property or method. https://msdn.microsoft.com/en-us/library/x5ye6x1e.aspx --- .../CoreGalleryPages/LabelCoreGalleryPage.cs | 17 ++++++++++ .../GalleryPages/GroupedListContactsGallery.cs | 2 ++ .../GalleryPages/LabelGallery.cs | 36 ++++++++++++++++++++++ .../GalleryPages/ListViewDemoPage.cs | 10 ++++++ .../GalleryPages/NavigationBarGallery.cs | 2 ++ .../Xamarin.Forms.Controls.csproj | 6 ++-- 6 files changed, 70 insertions(+), 3 deletions(-) (limited to 'Xamarin.Forms.Controls') diff --git a/Xamarin.Forms.Controls/CoreGalleryPages/LabelCoreGalleryPage.cs b/Xamarin.Forms.Controls/CoreGalleryPages/LabelCoreGalleryPage.cs index 9043c701..d29878b0 100644 --- a/Xamarin.Forms.Controls/CoreGalleryPages/LabelCoreGalleryPage.cs +++ b/Xamarin.Forms.Controls/CoreGalleryPages/LabelCoreGalleryPage.cs @@ -18,12 +18,29 @@ namespace Xamarin.Forms.Controls { base.Build (stackLayout); +#pragma warning disable 618 var namedSizeMediumBoldContainer = new ViewContainer