Resolve ILLink warnings in System.ComponentModel.TypeConverter (Round 1) (#48890)
authorEric Erhardt <eric.erhardt@microsoft.com>
Tue, 9 Mar 2021 18:49:25 +0000 (12:49 -0600)
committerGitHub <noreply@github.com>
Tue, 9 Mar 2021 18:49:25 +0000 (12:49 -0600)
commite0bbfa0f555cf5b9d8b8749e1a91a78924c9d927
tree023382824893fb1f89f3b23e4677c6ffffca5b93
parent542dc938a5e0f924fbfef435144e03c6bcf4dcc7
Resolve ILLink warnings in System.ComponentModel.TypeConverter (Round 1) (#48890)

* Resolve ILLink warnings in System.ComponentModel.TypeConverter (Round 1)

Contributes to #45623

* Update the AttributeCollection message

* Add trimming test for SimplePropertyDescriptor.IsReadOnly

* Update the ref source with DynamicallyAccessedMembers attributes
53 files changed:
src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.cs
src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj
src/libraries/System.ComponentModel.Annotations/src/ILLink/ILLink.Suppressions.xml
src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/AssociatedMetadataTypeTypeDescriptionProvider.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/MetadataTypeAttribute.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/RangeAttribute.cs
src/libraries/System.ComponentModel.Primitives/ref/System.ComponentModel.Primitives.cs
src/libraries/System.ComponentModel.Primitives/src/System/ComponentModel/IContainer.cs
src/libraries/System.ComponentModel.Primitives/src/System/ComponentModel/ISite.cs
src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/ILLink/ILLink.Suppressions.xml
src/libraries/System.ComponentModel.TypeConverter/src/MS/Internal/Xml/Linq/ComponentModel/XComponentModel.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/AmbientValueAttribute.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ArrayConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/AttributeCollection.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/BindingList.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/CollectionConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ComponentConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ComponentResourceManager.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Container.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/CustomTypeDescriptor.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/DelegatingTypeDescriptionProvider.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/DesignerOptionService.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/IDesignerOptionService.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/Serialization/MemberRelationshipService.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/EnumConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ExpandableObjectConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ICustomTypeDescriptor.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/MultilineStringConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/NestedContainer.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/NullableConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/PropertyDescriptor.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ReflectPropertyDescriptor.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ReflectTypeDescriptionProvider.ReflectedTypeData.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ReflectTypeDescriptionProvider.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/TypeConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/TypeDescriptionProvider.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/TypeDescriptor.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/Drawing/PointConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/Drawing/RectangleConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/Drawing/SizeConverter.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/Drawing/SizeFConverter.cs
src/libraries/System.ComponentModel.TypeConverter/tests/TrimmingTests/TypeConverterIsReadOnly.cs [new file with mode: 0644]
src/libraries/System.Data.Common/ref/System.Data.Common.cs
src/libraries/System.Data.Common/src/ILLink/ILLink.Suppressions.xml
src/libraries/System.Data.Common/src/System/Data/Common/DataRecordInternal.cs
src/libraries/System.Data.Common/src/System/Data/Common/DbConnectionStringBuilder.cs
src/libraries/System.Data.Common/src/System/Data/Common/DbDataRecord.cs
src/libraries/System.Data.Common/src/System/Data/DataRowView.cs
src/libraries/System.Data.Common/src/System/Data/DataViewManagerListItemTypeDescriptor.cs
src/libraries/System.Data.Common/src/System/Data/xmlsaver.cs