diff options
author | Samantha Houts <samhouts@users.noreply.github.com> | 2017-04-07 00:47:33 -0700 |
---|---|---|
committer | Stephane Delcroix <stephane@delcroix.org> | 2017-04-07 09:47:33 +0200 |
commit | 5f2796e160f99bad31c1b06a2d1f328b5ed02ba3 (patch) | |
tree | 1be94941400ed554767836b588106b3f105cb21b /Xamarin.Forms.Core/Font.cs | |
parent | 45a6a80b4c2d9be199f7c61a89bbaa3e5f829564 (diff) | |
download | xamarin-forms-5f2796e160f99bad31c1b06a2d1f328b5ed02ba3.tar.gz xamarin-forms-5f2796e160f99bad31c1b06a2d1f328b5ed02ba3.tar.bz2 xamarin-forms-5f2796e160f99bad31c1b06a2d1f328b5ed02ba3.zip |
[Internal] Normalize Obsolete attributes (#860)
* [All] Normalize Obsolete attributes.
Make sure we include the version in which the member was deprecated and
consistent instructions for working around the deprecation, if
applicable.
* Update docs
Diffstat (limited to 'Xamarin.Forms.Core/Font.cs')
-rw-r--r-- | Xamarin.Forms.Core/Font.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/Font.cs b/Xamarin.Forms.Core/Font.cs index bb6da4f4..c1283e09 100644 --- a/Xamarin.Forms.Core/Font.cs +++ b/Xamarin.Forms.Core/Font.cs @@ -82,14 +82,14 @@ namespace Xamarin.Forms return result; } - [Obsolete("BoldSystemFontOfSize is obsolete, please use SystemFontOfSize (double, FontAttributes)")] + [Obsolete("BoldSystemFontOfSize is obsolete as of version 1.2.0. Please use SystemFontOfSize (double, FontAttributes) instead.")] public static Font BoldSystemFontOfSize(double size) { var result = new Font { FontSize = size, FontAttributes = FontAttributes.Bold }; return result; } - [Obsolete("BoldSystemFontOfSize is obsolete, please use SystemFontOfSize (NamedSize, FontAttributes)")] + [Obsolete("BoldSystemFontOfSize is obsolete as of version 1.2.0. Please use SystemFontOfSize (NamedSize, FontAttributes) instead.")] public static Font BoldSystemFontOfSize(NamedSize size) { var result = new Font { NamedSize = size, FontAttributes = FontAttributes.Bold }; |