Skip to content

Mark DirectoryServicesPermission and DirectoryServicesPermissionAttribute as Obsolete #39413

Closed
@jeffhandley

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)]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions