dotnet-core/release-notes/5.0/api-diff/netstandard2.1/5.0_System.ComponentModel.md
Anirudh Agnihotry fdaef4427a
Api diff between net5.0 and netcoreapp3.1 & netstandard2.1 (#5610)
* .net shared framework changes

* standalone net 5.0 packages

* netstanard2.1 diff

* improving the directory structure

* adding a readme file

* aspnetcore shared framework changes

* remove wrong process type change diff

* adding comments about apis being to inbox from package
2020-11-18 10:40:01 -08:00

1.4 KiB

System.ComponentModel

 namespace System.ComponentModel {
     public sealed class AsyncOperation {
+        ~AsyncOperation();
     }
     public sealed class ParenthesizePropertyNameAttribute : Attribute {
-        public override bool Equals(object o);
+        public override bool Equals(object obj);
     }
     public sealed class RefreshPropertiesAttribute : Attribute {
-        public override bool Equals(object value);
+        public override bool Equals(object obj);
     }
     public class TypeConverter {
         public class StandardValuesCollection : ICollection, IEnumerable {
-            int System.Collections.ICollection.Count { get; }

-            void System.Collections.ICollection.CopyTo(Array array, int index);

-            IEnumerator System.Collections.IEnumerable.GetEnumerator();

         }
     }
+    public class VersionConverter : TypeConverter {
+        public VersionConverter();
+        public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType);
+        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
+        public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value);
+        public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType);
+        public override bool IsValid(ITypeDescriptorContext context, object value);
+    }
 }