Skip to content

Commit

Permalink
move ref DirectoryEntryConverter to System.DirectoryServices.Design n…
Browse files Browse the repository at this point in the history
…amespace (dotnet#75235)

The DirectoryEntryConverter's implementation is in the System.DirectoryServices.Design namespace. However, the reference was mistakenly put in the System.DirectoryServices namespace. This was flagged by the new ApiCompat tool, where the type argument to the TypeConverter attribute was different (since they're in different namespaces).
  • Loading branch information
smasher164 committed Sep 8, 2022
1 parent 6c91373 commit c89b7c7
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------

using System.DirectoryServices.Design;

namespace System.DirectoryServices
{
[System.ComponentModel.TypeConverter(typeof(DirectoryEntryConverter))]
public partial class DirectoryEntry { }
internal sealed class DirectoryEntryConverter { }
}

namespace System.DirectoryServices.Design
{
internal sealed class DirectoryEntryConverter { }
}

0 comments on commit c89b7c7

Please sign in to comment.