# System.ComponentModel.Design.Serialization

``` diff
 namespace System.ComponentModel.Design.Serialization {
     [DefaultSerializationProviderAttribute(typeof(CodeDomSerializationProvider))]
     public class CodeDomSerializer : CodeDomSerializerBase {
-        public virtual object Deserialize(IDesignerSerializationManager manager, object codeObject);
+        public virtual object? Deserialize(IDesignerSerializationManager manager, object codeObject);
-        protected object DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement);
+        protected object? DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement);
-        public virtual string GetTargetComponentName(CodeStatement statement, CodeExpression expression, Type targetType);
+        public virtual string? GetTargetComponentName(CodeStatement? statement, CodeExpression? expression, Type? targetType);
-        public virtual object Serialize(IDesignerSerializationManager manager, object value);
+        public virtual object? Serialize(IDesignerSerializationManager manager, object value);
-        public virtual object SerializeAbsolute(IDesignerSerializationManager manager, object value);
+        public virtual object? SerializeAbsolute(IDesignerSerializationManager manager, object value);
-        [ObsoleteAttribute("This method has been deprecated. Use SerializeToExpression or GetExpression instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
-        protected CodeExpression SerializeToReferenceExpression(IDesignerSerializationManager manager, object value);
+        [ObsoleteAttribute("This method has been deprecated. Use SerializeToExpression or GetExpression instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        protected CodeExpression? SerializeToReferenceExpression(IDesignerSerializationManager manager, object value);
     }
     public class CodeDomSerializerException : SystemException {
-        public CodeDomSerializerException(Exception ex, IDesignerSerializationManager manager);
+        public CodeDomSerializerException(Exception? ex, IDesignerSerializationManager manager);
-        public CodeDomSerializerException(string message, IDesignerSerializationManager manager);
+        public CodeDomSerializerException(string? message, IDesignerSerializationManager manager);
     }
 }
```

