[corlib] Fixed StringBuilder construction bugs in marshalling caused by changes to...
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / SerializationBinder.cs
index b66d4c3b1de1d494a5889dc3d92731c8ec9bd23c..a047d81a597991e76c18233839e85cba5b957c6e 100644 (file)
@@ -32,6 +32,7 @@
 namespace System.Runtime.Serialization
 {
        [Serializable]
+       [System.Runtime.InteropServices.ComVisibleAttribute (true)]
        public abstract class SerializationBinder
        {
                // Constructor
@@ -41,5 +42,11 @@ namespace System.Runtime.Serialization
                }
 
                public abstract Type BindToType (string assemblyName, string typeName);
+
+               public virtual void BindToName (Type serializedType, out string assemblyName, out string typeName)
+               {
+                       assemblyName = null;
+                       typeName = null;
+               }
        }
 }