From e1503ab2be1e6cf0a691514e27e2101591af6bfe Mon Sep 17 00:00:00 2001 From: Ben Russell Date: Tue, 19 Nov 2024 18:17:10 -0600 Subject: [PATCH] Remove dead code :put_litter_in_its_place: --- .../netfx/src/Microsoft.Data.SqlClient.csproj | 1 - .../Microsoft/Data/RelationshipConverter.cs | 33 ------------------- 2 files changed, 34 deletions(-) delete mode 100644 src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/RelationshipConverter.cs diff --git a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj index 10fdb263b9..213f932692 100644 --- a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj +++ b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj @@ -809,7 +809,6 @@ - diff --git a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/RelationshipConverter.cs b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/RelationshipConverter.cs deleted file mode 100644 index 9718f0342c..0000000000 --- a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/RelationshipConverter.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -namespace Microsoft.Data -{ - using System; - using System.ComponentModel; - using System.ComponentModel.Design.Serialization; - - sealed internal class RelationshipConverter : ExpandableObjectConverter - { - - // converter classes should have public ctor - public RelationshipConverter() - { - } - - /// - /// Gets a value indicating whether this converter can - /// convert an object to the given destination type using the context. - /// - public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) - { - if (destinationType == typeof(InstanceDescriptor)) - { - return true; - } - return base.CanConvertTo(context, destinationType); - } - } -} -