# System.DirectoryServices

``` diff
 namespace System.DirectoryServices {
     public class DirectoryServicesCOMException : COMException, ISerializable {
-        protected DirectoryServicesCOMException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected DirectoryServicesCOMException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     [ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
     public sealed class DirectoryServicesPermission : ResourcePermissionBase {
-        public DirectoryServicesPermission(DirectoryServicesPermissionEntry[]? permissionAccessEntries);
+        public DirectoryServicesPermission(DirectoryServicesPermissionEntry[] permissionAccessEntries);
     }
     public class DirectoryServicesPermissionEntryCollection : CollectionBase {
-        public DirectoryServicesPermissionEntry? this[int index] { get; set; }
+        public DirectoryServicesPermissionEntry this[int index] { get; set; }
-        protected override void OnInsert(int index, object? value);
+        protected override void OnInsert(int index, object value);
-        protected override void OnRemove(int index, object? value);
+        protected override void OnRemove(int index, object value);
-        protected override void OnSet(int index, object? oldValue, object? newValue);
+        protected override void OnSet(int index, object oldValue, object newValue);
-        public void Remove(DirectoryServicesPermissionEntry? value);
+        public void Remove(DirectoryServicesPermissionEntry value);
     }
 }
```

