From 748c781b961dd1b8dc1c025d5ca311da39a8b120 Mon Sep 17 00:00:00 2001 From: Samantha Houts Date: Fri, 20 Oct 2017 13:02:16 -0700 Subject: [PATCH] Update obsolete messages for 2.5 --- Xamarin.Forms.Maps.Android/FormsMaps.cs | 2 +- Xamarin.Forms.Maps.Android/MapRenderer.cs | 2 +- .../AppCompat/CarouselPageRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/AppCompat/FrameRenderer.cs | 2 +- .../AppCompat/MasterDetailPageRenderer.cs | 2 +- .../AppCompat/NavigationPageRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/AppCompat/PickerRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/AppCompat/SwitchRenderer.cs | 2 +- .../AppCompat/TabbedPageRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/AppCompat/ViewRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/ColorExtensions.cs | 2 +- .../FastRenderers/ButtonRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/FastRenderers/FrameRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/FastRenderers/LabelRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Forms.cs | 4 ++-- Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Platform.cs | 4 ++-- .../Renderers/ActivityIndicatorRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/BoxRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/ButtonRenderer.cs | 2 +- .../Renderers/CarouselPageRenderer.cs | 2 +- .../Renderers/DatePickerRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/EntryRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/ImageRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/LabelRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs | 2 +- .../Renderers/MasterDetailRenderer.cs | 2 +- .../Renderers/NavigationMenuRenderer.cs | 2 +- .../Renderers/NavigationRenderer.cs | 2 +- .../Renderers/OpenGLViewRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/PageRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs | 2 +- .../Renderers/ProgressBarRenderer.cs | 2 +- .../Renderers/ScrollViewRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/SliderRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/StepperRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/SwitchRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/TabbedRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/TableViewRenderer.cs | 2 +- .../Renderers/TimePickerRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/WebViewRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/ResourceManager.cs | 2 +- Xamarin.Forms.Platform.Android/ViewRenderer.cs | 4 ++-- Xamarin.Forms.Platform.Android/VisualElementRenderer.cs | 2 +- 48 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Xamarin.Forms.Maps.Android/FormsMaps.cs b/Xamarin.Forms.Maps.Android/FormsMaps.cs index f18e68e11..9a20d4d6c 100644 --- a/Xamarin.Forms.Maps.Android/FormsMaps.cs +++ b/Xamarin.Forms.Maps.Android/FormsMaps.cs @@ -12,7 +12,7 @@ namespace Xamarin { public static bool IsInitialized { get; private set; } - [Obsolete("Context is obsolete as of version 3.0. Please use a local context instead.")] + [Obsolete("Context is obsolete as of version 2.5. Please use a local context instead.")] public static Context Context { get; private set; } public static void Init(Activity activity, Bundle bundle) diff --git a/Xamarin.Forms.Maps.Android/MapRenderer.cs b/Xamarin.Forms.Maps.Android/MapRenderer.cs index 5a30db258..30bd642a3 100644 --- a/Xamarin.Forms.Maps.Android/MapRenderer.cs +++ b/Xamarin.Forms.Maps.Android/MapRenderer.cs @@ -33,7 +33,7 @@ namespace Xamarin.Forms.Maps.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use MapRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use MapRenderer(Context) instead.")] public MapRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/AppCompat/CarouselPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/CarouselPageRenderer.cs index 350ab2c16..8fe83c27a 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/CarouselPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/CarouselPageRenderer.cs @@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use CarouselPageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use CarouselPageRenderer(Context) instead.")] public CarouselPageRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/AppCompat/FrameRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/FrameRenderer.cs index db5f3039a..cd014ad38 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/FrameRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/FrameRenderer.cs @@ -12,7 +12,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat } - [Obsolete("This constructor is obsolete as of version 3.0. Please use FrameRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use FrameRenderer(Context) instead.")] public FrameRenderer() { diff --git a/Xamarin.Forms.Platform.Android/AppCompat/MasterDetailPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/MasterDetailPageRenderer.cs index 10ac419ee..2213bcac5 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/MasterDetailPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/MasterDetailPageRenderer.cs @@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use MasterDetailPageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use MasterDetailPageRenderer(Context) instead.")] public MasterDetailPageRenderer() : base(Forms.Context) { } diff --git a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs index 39fbf4e0d..62e1b32f0 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs @@ -54,7 +54,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat Device.Info.PropertyChanged += DeviceInfoPropertyChanged; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use NavigationPageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use NavigationPageRenderer(Context) instead.")] public NavigationPageRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/AppCompat/PickerRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/PickerRenderer.cs index e137f8ef4..76b598e3d 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/PickerRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/PickerRenderer.cs @@ -22,7 +22,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use PickerRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use PickerRenderer(Context) instead.")] public PickerRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/AppCompat/SwitchRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/SwitchRenderer.cs index ac611aac9..07a92fb35 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/SwitchRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/SwitchRenderer.cs @@ -14,7 +14,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use SwitchRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use SwitchRenderer(Context) instead.")] public SwitchRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/AppCompat/TabbedPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/TabbedPageRenderer.cs index a40d42d77..3839b4963 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/TabbedPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/TabbedPageRenderer.cs @@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use TabbedPageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use TabbedPageRenderer(Context) instead.")] public TabbedPageRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/AppCompat/ViewRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/ViewRenderer.cs index 56a3474da..2a1026652 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/ViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/ViewRenderer.cs @@ -9,7 +9,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ViewRenderer(Context) instead.")] protected ViewRenderer() { } diff --git a/Xamarin.Forms.Platform.Android/ColorExtensions.cs b/Xamarin.Forms.Platform.Android/ColorExtensions.cs index 55c1a2669..8c2c42b92 100644 --- a/Xamarin.Forms.Platform.Android/ColorExtensions.cs +++ b/Xamarin.Forms.Platform.Android/ColorExtensions.cs @@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android return new AColor((byte)(byte.MaxValue * self.R), (byte)(byte.MaxValue * self.G), (byte)(byte.MaxValue * self.B), (byte)(byte.MaxValue * self.A)); } - [Obsolete("ToAndroid(this Color, int) is obsolete as of version 3.0. Please use ToAndroid(this Color, int, Context) instead.")] + [Obsolete("ToAndroid(this Color, int) is obsolete as of version 2.5. Please use ToAndroid(this Color, int, Context) instead.")] public static AColor ToAndroid(this Color self, int defaultColorResourceId) { if (self == Color.Default) diff --git a/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs b/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs index e789160d6..6c74d8776 100644 --- a/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs +++ b/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs @@ -43,7 +43,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers Initialize(); } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ButtonRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ButtonRenderer(Context) instead.")] public ButtonRenderer() : base(Forms.Context) { _automationPropertiesProvider = new AutomationPropertiesProvider(this); diff --git a/Xamarin.Forms.Platform.Android/FastRenderers/FrameRenderer.cs b/Xamarin.Forms.Platform.Android/FastRenderers/FrameRenderer.cs index bb5228067..115591b9d 100644 --- a/Xamarin.Forms.Platform.Android/FastRenderers/FrameRenderer.cs +++ b/Xamarin.Forms.Platform.Android/FastRenderers/FrameRenderer.cs @@ -34,7 +34,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers _effectControlProvider = new EffectControlProvider(this); } - [Obsolete("This constructor is obsolete as of version 3.0. Please use FrameRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use FrameRenderer(Context) instead.")] public FrameRenderer() : base(Forms.Context) { _gestureManager = new GestureManager(this); diff --git a/Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs b/Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs index 207d68810..43e3a0e76 100644 --- a/Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs @@ -163,7 +163,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ImageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ImageRenderer(Context) instead.")] public ImageRenderer() : base(Forms.Context) { } diff --git a/Xamarin.Forms.Platform.Android/FastRenderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Android/FastRenderers/LabelRenderer.cs index a1990394a..7153f3837 100644 --- a/Xamarin.Forms.Platform.Android/FastRenderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Android/FastRenderers/LabelRenderer.cs @@ -34,7 +34,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers _visualElementRenderer = new VisualElementRenderer(this); } - [Obsolete("This constructor is obsolete as of version 3.0. Please use LabelRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use LabelRenderer(Context) instead.")] public LabelRenderer(): base(Forms.Context) { _labelTextColorDefault = TextColors; diff --git a/Xamarin.Forms.Platform.Android/Forms.cs b/Xamarin.Forms.Platform.Android/Forms.cs index 4d2fb0698..3f189110e 100644 --- a/Xamarin.Forms.Platform.Android/Forms.cs +++ b/Xamarin.Forms.Platform.Android/Forms.cs @@ -29,7 +29,7 @@ namespace Xamarin.Forms static bool? s_isLollipopOrNewer; - [Obsolete("Context is obsolete as of version 3.0. Please use a local context instead.")] + [Obsolete("Context is obsolete as of version 2.5. Please use a local context instead.")] public static Context Context { get; internal set; } // One per process; does not change, suitable for loading resources (e.g., ResourceProvider) @@ -65,7 +65,7 @@ namespace Xamarin.Forms /// Sets title bar visibility programmatically. Must be called after Xamarin.Forms.Forms.Init() method /// /// Title bar visibility enum - [Obsolete("SetTitleBarVisibility(AndroidTitleBarVisibility) is obsolete as of version 3.0. " + [Obsolete("SetTitleBarVisibility(AndroidTitleBarVisibility) is obsolete as of version 2.5. " + "Please use SetTitleBarVisibility(Activity, AndroidTitleBarVisibility) instead.")] public static void SetTitleBarVisibility(AndroidTitleBarVisibility visibility) { diff --git a/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs b/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs index a19393ba6..3be503123 100644 --- a/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs +++ b/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs @@ -10,7 +10,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use NativeViewWrapperRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use NativeViewWrapperRenderer(Context) instead.")] public NativeViewWrapperRenderer() { } diff --git a/Xamarin.Forms.Platform.Android/Platform.cs b/Xamarin.Forms.Platform.Android/Platform.cs index 8ce8eb857..a4af85d6d 100644 --- a/Xamarin.Forms.Platform.Android/Platform.cs +++ b/Xamarin.Forms.Platform.Android/Platform.cs @@ -300,7 +300,7 @@ namespace Xamarin.Forms.Platform.Android throw new InvalidOperationException("RemovePage is not supported globally on Android, please use a NavigationPage."); } - [Obsolete("CreateRenderer(VisualElement) is obsolete as of version 3.0. Please use CreateRenderer(VisualElement, Context) instead.")] + [Obsolete("CreateRenderer(VisualElement) is obsolete as of version 2.5. Please use CreateRenderer(VisualElement, Context) instead.")] public static IVisualElementRenderer CreateRenderer(VisualElement element) { return CreateRenderer(element, Forms.Context); @@ -1075,7 +1075,7 @@ namespace Xamarin.Forms.Platform.Android { bool _notReallyHandled; - [Obsolete("This constructor is obsolete as of version 3.0. Please use DefaultRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use DefaultRenderer(Context) instead.")] public DefaultRenderer() { } diff --git a/Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs index 75676236c..a3f124429 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs @@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ActivityIndicatorRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ActivityIndicatorRenderer(Context) instead.")] public ActivityIndicatorRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/BoxRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/BoxRenderer.cs index 118c7ccb7..be97b29dd 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/BoxRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/BoxRenderer.cs @@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use BoxRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use BoxRenderer(Context) instead.")] public BoxRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/ButtonRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ButtonRenderer.cs index 899aec083..7d2168523 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ButtonRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ButtonRenderer.cs @@ -30,7 +30,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ButtonRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ButtonRenderer(Context) instead.")] public ButtonRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/CarouselPageRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/CarouselPageRenderer.cs index 4c61bf310..f5d24d2ac 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/CarouselPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/CarouselPageRenderer.cs @@ -15,7 +15,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use CarouselPageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use CarouselPageRenderer(Context) instead.")] public CarouselPageRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/DatePickerRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/DatePickerRenderer.cs index fd552aeae..20932560e 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/DatePickerRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/DatePickerRenderer.cs @@ -22,7 +22,7 @@ namespace Xamarin.Forms.Platform.Android Device.Info.PropertyChanged += DeviceInfoPropertyChanged; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use DatePickerRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use DatePickerRenderer(Context) instead.")] public DatePickerRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs index 491f7c9ef..a04d30a53 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs @@ -22,7 +22,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use EditorRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use EditorRenderer(Context) instead.")] public EditorRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/EntryRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/EntryRenderer.cs index 0e5e256e9..dda990eb2 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/EntryRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/EntryRenderer.cs @@ -25,7 +25,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use EntryRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use EntryRenderer(Context) instead.")] public EntryRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs index 958488c66..2fb82462a 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs @@ -19,7 +19,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use FrameRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use FrameRenderer(Context) instead.")] public FrameRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/ImageRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ImageRenderer.cs index a5936e60b..407cf2aad 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ImageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ImageRenderer.cs @@ -24,7 +24,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ImageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ImageRenderer(Context) instead.")] public ImageRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/LabelRenderer.cs index 3ed0149d0..8e941396a 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/LabelRenderer.cs @@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use LabelRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use LabelRenderer(Context) instead.")] public LabelRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs index 7be10535e..cbf15e9fb 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs @@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ListViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ListViewRenderer(Context) instead.")] public ListViewRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/MasterDetailRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/MasterDetailRenderer.cs index f930f757e..a0a1dbaa9 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/MasterDetailRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/MasterDetailRenderer.cs @@ -25,7 +25,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use MasterDetailRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use MasterDetailRenderer(Context) instead.")] public MasterDetailRenderer() : base(Forms.Context) { } diff --git a/Xamarin.Forms.Platform.Android/Renderers/NavigationMenuRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/NavigationMenuRenderer.cs index d260eed6a..99a471e7f 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/NavigationMenuRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/NavigationMenuRenderer.cs @@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use NavigationMenuRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use NavigationMenuRenderer(Context) instead.")] public NavigationMenuRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/NavigationRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/NavigationRenderer.cs index 89591ae82..8493978cc 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/NavigationRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/NavigationRenderer.cs @@ -19,7 +19,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use NavigationRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use NavigationRenderer(Context) instead.")] public NavigationRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/OpenGLViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/OpenGLViewRenderer.cs index 579753903..6a703bdef 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/OpenGLViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/OpenGLViewRenderer.cs @@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use OpenGLViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use OpenGLViewRenderer(Context) instead.")] public OpenGLViewRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/PageRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/PageRenderer.cs index 9e24516e0..2d6a70c0a 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/PageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/PageRenderer.cs @@ -11,7 +11,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use PageRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use PageRenderer(Context) instead.")] public PageRenderer() { } diff --git a/Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs index 812a92f9f..5395c6a8c 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs @@ -25,7 +25,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use PickerRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use PickerRenderer(Context) instead.")] public PickerRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/ProgressBarRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ProgressBarRenderer.cs index fb488ccdd..f0b5b0069 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ProgressBarRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ProgressBarRenderer.cs @@ -12,7 +12,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ProgressBarRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ProgressBarRenderer(Context) instead.")] public ProgressBarRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs index d82cfb4b8..5ba0b8af9 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs @@ -27,7 +27,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ScrollViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ScrollViewRenderer(Context) instead.")] public ScrollViewRenderer() : base(Forms.Context) { } diff --git a/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs index 4854ec478..2dc02d089 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs @@ -24,7 +24,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use SearchBarRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use SearchBarRenderer(Context) instead.")] public SearchBarRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/SliderRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/SliderRenderer.cs index 2c0b149f0..81afba8f3 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/SliderRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/SliderRenderer.cs @@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use SliderRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use SliderRenderer(Context) instead.")] public SliderRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/StepperRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/StepperRenderer.cs index f3cef25d1..40ebdebec 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/StepperRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/StepperRenderer.cs @@ -18,7 +18,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use StepperRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use StepperRenderer(Context) instead.")] public StepperRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/SwitchRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/SwitchRenderer.cs index 68527c815..f68e535a1 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/SwitchRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/SwitchRenderer.cs @@ -12,7 +12,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use SwitchRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use SwitchRenderer(Context) instead.")] public SwitchRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/TabbedRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/TabbedRenderer.cs index 76e334a19..55c6e01a9 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/TabbedRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/TabbedRenderer.cs @@ -13,7 +13,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use TabbedRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use TabbedRenderer(Context) instead.")] public TabbedRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/TableViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/TableViewRenderer.cs index b481747af..e4e7a89a1 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/TableViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/TableViewRenderer.cs @@ -13,7 +13,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use TableViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use TableViewRenderer(Context) instead.")] public TableViewRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs index 3f1066fb5..9a353014a 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/TimePickerRenderer.cs @@ -23,7 +23,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use TimePickerRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use TimePickerRenderer(Context) instead.")] public TimePickerRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/Renderers/WebViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/WebViewRenderer.cs index c0bcebe65..374889eb8 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/WebViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/WebViewRenderer.cs @@ -21,7 +21,7 @@ namespace Xamarin.Forms.Platform.Android AutoPackage = false; } - [Obsolete("This constructor is obsolete as of version 3.0. Please use WebViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use WebViewRenderer(Context) instead.")] public WebViewRenderer() { AutoPackage = false; diff --git a/Xamarin.Forms.Platform.Android/ResourceManager.cs b/Xamarin.Forms.Platform.Android/ResourceManager.cs index 1cbef8b9f..dffef7a6b 100644 --- a/Xamarin.Forms.Platform.Android/ResourceManager.cs +++ b/Xamarin.Forms.Platform.Android/ResourceManager.cs @@ -57,7 +57,7 @@ namespace Xamarin.Forms.Platform.Android return BitmapFactory.DecodeResourceAsync(resource, IdFromTitle(name, DrawableClass)); } - [Obsolete("GetDrawable(this Resources, string) is obsolete as of version 3.0. " + [Obsolete("GetDrawable(this Resources, string) is obsolete as of version 2.5. " + "Please use GetDrawable(this Context, string) instead.")] public static Drawable GetDrawable(this Resources resource, string name) { diff --git a/Xamarin.Forms.Platform.Android/ViewRenderer.cs b/Xamarin.Forms.Platform.Android/ViewRenderer.cs index 35139c644..25cdec846 100644 --- a/Xamarin.Forms.Platform.Android/ViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/ViewRenderer.cs @@ -14,7 +14,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ViewRenderer(Context) instead.")] protected ViewRenderer() { } @@ -26,7 +26,7 @@ namespace Xamarin.Forms.Platform.Android { } - [Obsolete("This constructor is obsolete as of version 3.0. Please use ViewRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use ViewRenderer(Context) instead.")] protected ViewRenderer() { } diff --git a/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs index 245bf8d3e..7f34d0d03 100644 --- a/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs +++ b/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs @@ -63,7 +63,7 @@ namespace Xamarin.Forms.Platform.Android return base.DispatchTouchEvent(e); } - [Obsolete("This constructor is obsolete as of version 3.0. Please use VisualElementRenderer(Context) instead.")] + [Obsolete("This constructor is obsolete as of version 2.5. Please use VisualElementRenderer(Context) instead.")] protected VisualElementRenderer() : this(Forms.Context) { }