# Microsoft.CSharp.RuntimeBinder

``` diff
 namespace Microsoft.CSharp.RuntimeBinder {
     public class RuntimeBinderException : Exception {
-        protected RuntimeBinderException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(EditorBrowsableState.Never)]
+        [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 RuntimeBinderException(SerializationInfo info, StreamingContext context);
     }
     public class RuntimeBinderInternalCompilerException : Exception {
-        protected RuntimeBinderInternalCompilerException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(EditorBrowsableState.Never)]
+        [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 RuntimeBinderInternalCompilerException(SerializationInfo info, StreamingContext context);
     }
 }
```

