2010-03-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / corlib / System / WeakReference.cs
old mode 100755 (executable)
new mode 100644 (file)
index b39e52c..edc97c9
@@ -34,6 +34,7 @@ using System.Runtime.InteropServices;
 namespace System
 {
        [Serializable]
+       [ComVisible (true)]
        public class WeakReference : ISerializable
        {
                //Fields
@@ -53,6 +54,11 @@ namespace System
                }
 
                //Constructors
+#if NET_2_1
+               protected WeakReference ()
+               {
+               }
+#endif
                public WeakReference (object target)
                        : this (target, false)
                {