diff options
author | Marek Safar <marek.safar@gmail.com> | 2017-06-09 17:56:31 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-06-09 17:56:31 +0300 |
commit | eed0d37c001fdd17acf3dd33cacd4f66df5294c0 (patch) | |
tree | 7854997c4895df9b113296ee295f64fbfeca6625 /src/System.Drawing.Primitives | |
parent | cfdb6cf6576eb1449b68ef9d9e71678bd73b7a2f (diff) |
Remove TypeForwardedFrom as they are redundant for mono and wrong for mobile profiles
Diffstat (limited to 'src/System.Drawing.Primitives')
7 files changed, 14 insertions, 0 deletions
diff --git a/src/System.Drawing.Primitives/src/System/Drawing/Color.cs b/src/System.Drawing.Primitives/src/System/Drawing/Color.cs index d55fbabea9..6bfe096c01 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/Color.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/Color.cs @@ -10,7 +10,9 @@ namespace System.Drawing { [DebuggerDisplay("{NameAndARGBValue}")] [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")] +#endif public struct Color : IEquatable<Color> { public static readonly Color Empty = new Color(); diff --git a/src/System.Drawing.Primitives/src/System/Drawing/Point.cs b/src/System.Drawing.Primitives/src/System/Drawing/Point.cs index 8d1c5a6209..e01ac07ab3 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/Point.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/Point.cs @@ -12,7 +12,9 @@ namespace System.Drawing /// define a point in a two-dimensional plane. /// </summary> [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")] +#endif public struct Point : IEquatable<Point> { /// <summary> diff --git a/src/System.Drawing.Primitives/src/System/Drawing/PointF.cs b/src/System.Drawing.Primitives/src/System/Drawing/PointF.cs index 4c5e5dd1f7..473991ab2f 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/PointF.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/PointF.cs @@ -12,7 +12,9 @@ namespace System.Drawing /// define a point in a two-dimensional plane. /// </summary> [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")] +#endif public struct PointF : IEquatable<PointF> { /// <summary> diff --git a/src/System.Drawing.Primitives/src/System/Drawing/Rectangle.cs b/src/System.Drawing.Primitives/src/System/Drawing/Rectangle.cs index 9eec4dd9e2..758f636a48 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/Rectangle.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/Rectangle.cs @@ -14,7 +14,9 @@ namespace System.Drawing /// </para> /// </summary> [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")] +#endif public struct Rectangle : IEquatable<Rectangle> { public static readonly Rectangle Empty = new Rectangle(); diff --git a/src/System.Drawing.Primitives/src/System/Drawing/RectangleF.cs b/src/System.Drawing.Primitives/src/System/Drawing/RectangleF.cs index c23e06d528..47844683f3 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/RectangleF.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/RectangleF.cs @@ -14,7 +14,9 @@ namespace System.Drawing /// </para> /// </summary> [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")] +#endif public struct RectangleF : IEquatable<RectangleF> { /// <summary> diff --git a/src/System.Drawing.Primitives/src/System/Drawing/Size.cs b/src/System.Drawing.Primitives/src/System/Drawing/Size.cs index c4a36f9131..f8e6d4ae1b 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/Size.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/Size.cs @@ -15,7 +15,9 @@ namespace System.Drawing /// with an ordered pair of width and height. /// </summary> [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")] +#endif public struct Size : IEquatable<Size> { /// <summary> diff --git a/src/System.Drawing.Primitives/src/System/Drawing/SizeF.cs b/src/System.Drawing.Primitives/src/System/Drawing/SizeF.cs index 42f35e18dc..6f600ac036 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/SizeF.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/SizeF.cs @@ -17,7 +17,9 @@ namespace System.Drawing /// </para> /// </summary> [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("System.Drawing, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089")] +#endif public struct SizeF : IEquatable<SizeF> { /// <summary> |