diff --git a/src/libraries/System.Data.Common/src/ILLink/ILLink.Suppressions.xml b/src/libraries/System.Data.Common/src/ILLink/ILLink.Suppressions.xml index 2eda63ecd065ce..9825521322ca8a 100644 --- a/src/libraries/System.Data.Common/src/ILLink/ILLink.Suppressions.xml +++ b/src/libraries/System.Data.Common/src/ILLink/ILLink.Suppressions.xml @@ -1,18 +1,6 @@  - - ILLink - IL2026 - member - M:System.Data.ColumnTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type) - - - ILLink - IL2060 - member - M:System.Data.DataRowExtensions.UnboxT`1.Create - ILLink IL2026 @@ -61,12 +49,6 @@ member M:System.Data.DataTable.WriteXmlCore(System.Xml.XmlWriter) - - ILLink - IL2026 - member - M:System.Data.DataView.SetRowFilter(System.String) - ILLink IL2026 diff --git a/src/libraries/System.Data.Common/src/System/Data/ColumnTypeConverter.cs b/src/libraries/System.Data.Common/src/System/Data/ColumnTypeConverter.cs index 015e87d0897fba..f259f711384bea 100644 --- a/src/libraries/System.Data.Common/src/System/Data/ColumnTypeConverter.cs +++ b/src/libraries/System.Data.Common/src/System/Data/ColumnTypeConverter.cs @@ -3,6 +3,7 @@ using System.ComponentModel; using System.ComponentModel.Design.Serialization; +using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Data.SqlTypes; using System.Reflection; @@ -65,6 +66,8 @@ public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destina /// /// Converts the given value object to the specified destination type. /// + [UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode", + Justification = "InstanceDescriptor calls GetType(string) on AssemblyQualifiedName of instance of type we already have in here.")] public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) { if (destinationType == null)