diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-12 20:06:43 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-12 20:06:43 +0300 |
commit | 2eb889c8a724ec7dde103ea6eea6e41ba45a74fc (patch) | |
tree | 4a675da7f18291223e16932ae9dbe5924ba8ab32 | |
parent | 9061efd2d933f3aec369956fa464f69bb70da11d (diff) |
Apply changes from https://github.com/mono/mono/pull/13414 to API snapshot
-rw-r--r-- | profiles/monotouch/Facades/System.Drawing.Common.cs | 74 | ||||
-rw-r--r-- | profiles/monotouch/Facades/netstandard.cs | 5 |
2 files changed, 79 insertions, 0 deletions
diff --git a/profiles/monotouch/Facades/System.Drawing.Common.cs b/profiles/monotouch/Facades/System.Drawing.Common.cs index e4c016f..9a166df 100644 --- a/profiles/monotouch/Facades/System.Drawing.Common.cs +++ b/profiles/monotouch/Facades/System.Drawing.Common.cs @@ -248,6 +248,9 @@ namespace System.Drawing public static bool operator ==(System.Drawing.CharacterRange cr1, System.Drawing.CharacterRange cr2) { throw null; } public static bool operator !=(System.Drawing.CharacterRange cr1, System.Drawing.CharacterRange cr2) { throw null; } } + [System.Diagnostics.DebuggerDisplayAttribute("{NameAndARGBValue}")] + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("OpenTK-1.0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Color : System.IEquatable<System.Drawing.Color> { @@ -422,6 +425,16 @@ namespace System.Drawing public System.Drawing.KnownColor ToKnownColor() { throw null; } public override string ToString() { throw null; } } + public partial class ColorConverter : System.ComponentModel.TypeConverter + { + public ColorConverter() { } + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } + public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + } public static partial class ColorTranslator { public static System.Drawing.Color FromHtml(string htmlColor) { throw null; } @@ -928,6 +941,7 @@ namespace System.Drawing public static void UpdateFrames() { } public static void UpdateFrames(System.Drawing.Image image) { } } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("OpenTK-1.0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] public enum KnownColor { ActiveBorder = 1, @@ -1286,6 +1300,8 @@ namespace System.Drawing public static System.Drawing.Pen Yellow { get { throw null; } } public static System.Drawing.Pen YellowGreen { get { throw null; } } } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Point : System.IEquatable<System.Drawing.Point> { @@ -1316,6 +1332,20 @@ namespace System.Drawing public override string ToString() { throw null; } public static System.Drawing.Point Truncate(System.Drawing.PointF value) { throw null; } } + public partial class PointConverter : System.ComponentModel.TypeConverter + { + public PointConverter() { } + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } + public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } + public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } + public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct PointF : System.IEquatable<System.Drawing.PointF> { @@ -1341,6 +1371,8 @@ namespace System.Drawing public static System.Drawing.PointF Subtract(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } public override string ToString() { throw null; } } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Rectangle : System.IEquatable<System.Drawing.Rectangle> { @@ -1389,6 +1421,20 @@ namespace System.Drawing public static System.Drawing.Rectangle Truncate(System.Drawing.RectangleF value) { throw null; } public static System.Drawing.Rectangle Union(System.Drawing.Rectangle a, System.Drawing.Rectangle b) { throw null; } } + public partial class RectangleConverter : System.ComponentModel.TypeConverter + { + public RectangleConverter() { } + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } + public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } + public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } + public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct RectangleF : System.IEquatable<System.Drawing.RectangleF> { @@ -1514,6 +1560,8 @@ namespace System.Drawing RotateNoneFlipXY = 2, RotateNoneFlipY = 6, } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Size : System.IEquatable<System.Drawing.Size> { @@ -1547,6 +1595,20 @@ namespace System.Drawing public override string ToString() { throw null; } public static System.Drawing.Size Truncate(System.Drawing.SizeF value) { throw null; } } + public partial class SizeConverter : System.ComponentModel.TypeConverter + { + public SizeConverter() { } + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } + public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } + public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } + public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + } + [System.Runtime.CompilerServices.TypeForwardedFromAttribute("Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065")] + [System.SerializableAttribute] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SizeF : System.IEquatable<System.Drawing.SizeF> { @@ -1576,6 +1638,18 @@ namespace System.Drawing public System.Drawing.Size ToSize() { throw null; } public override string ToString() { throw null; } } + public partial class SizeFConverter : System.ComponentModel.TypeConverter + { + public SizeFConverter() { } + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } + public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } + public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } + public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } + } public sealed partial class SolidBrush : System.Drawing.Brush { public SolidBrush(System.Drawing.Color color) { } diff --git a/profiles/monotouch/Facades/netstandard.cs b/profiles/monotouch/Facades/netstandard.cs index 69ff340..80eefec 100644 --- a/profiles/monotouch/Facades/netstandard.cs +++ b/profiles/monotouch/Facades/netstandard.cs @@ -735,13 +735,18 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DivideByZeroException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DllNotFoundException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Color))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.ColorConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.KnownColor))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Point))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.PointConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.PointF))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Rectangle))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.RectangleConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.RectangleF))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Size))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SizeConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SizeF))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SizeFConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DuplicateWaitObjectException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.BinaryOperationBinder))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.BindingRestrictions))] |