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