Skip to content

Mark DirectoryServicesPermission and DirectoryServicesPermissionAttribute as Obsolete #39413

Closed

Description

@jeffhandley

Per dotnet/designs#139, System.DirectoryServices.DirectoryServicesPermission and System.DirectoryServices.DirectoryServicesPermissionAttribute should be marked as Obsolete in .NET 5.

In #39269, it was found that this will require the System.DirectoryServices ref assembly build to distinguish between netstandard2.0 and net5.0, which it doesn't do today. #39401 was filed for the infrastructure work to make that possible; once that is resolved, the types need to be marked as Obsolete.

[Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]

Activity

  1. added this to the 5.0.0 milestone on Jul 16, 2020
  2. self-assigned this
    on Jul 16, 2020
  3. added
    untriaged
    on Jul 16, 2020
  4. removed
    untriaged
    on Aug 8, 2020
  5. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
  6. added
    in-pr
    on May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-System.DirectoryServicesin-pr

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions