# System.Security

``` diff
 namespace System.Security {
     [ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
     public class HostProtectionException : SystemException {
-        protected HostProtectionException(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 HostProtectionException(SerializationInfo info, StreamingContext context);
     }
 }
```

