# System.Data.SqlTypes

``` diff
 namespace System.Data.SqlTypes {
-    [XmlSchemaProviderAttribute("GetXsdType")]
-    public struct SqlGuid : IComparable, IEquatable<SqlGuid>, INullable, IXmlSerializable {
+    [XmlSchemaProviderAttribute("GetXsdType")]
+    public struct SqlGuid : IComparable, IEquatable<SqlGuid>, INullable, ISerializable, IXmlSerializable {
+        void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context);
     }
     public class SqlTypeException : SystemException {
-        protected SqlTypeException(SerializationInfo si, StreamingContext sc);
+        [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 SqlTypeException(SerializationInfo si, StreamingContext sc);
     }
 }
```

