DirectoryObjectSecurity should be in the System.Security.AccessControl assembly
DirectoryObjectSecurity is only used by the System.DirectoryServices.ActiveDirectorySecurity class to expose Active Directory security descriptors. It is not used for filesystem ( directory ) descriptors. It appears it was moved into the System.IO.FileSystem.AccessControl assembly during the port to core when it should have remained in System.Security.AccessControl.
I agree that it seems the only usage of DirectoryObjectSecurity is ActiveDirectorySecurity (across .NET Framework and .NET Core).
I just don't know if we have the capability of moving a type "out" (further from System.Object); most of our moves are to move a type "in".
@terrajobst / @ericstj ?
Actually System.Security.AccessControl is closer to System.Object, so this is the normal case of pushing a type down in the stack.
I'm fine with pushing this type into System.Security.AccessControl so long as its doesn't pull anything else down with it or add new dependencies. If it does we can review those.
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.
This process is part of our issue cleanup automation.
This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.