Author: ivanz
Date: 2007-11-01 16:13:48 -0500 (Thu, 01 Nov 2007)
New Revision: 88684

Modified:
   trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ChangeLog
   
trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.cs
Log:
2007-11-01  Ivan N. Zlatev <[EMAIL PROTECTED]>

        * ResolveNameEventArgs.cs: Fix Value to not return and set Name.



Modified: 
trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ChangeLog 
2007-11-01 21:10:42 UTC (rev 88683)
+++ trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ChangeLog 
2007-11-01 21:13:48 UTC (rev 88684)
@@ -1,3 +1,7 @@
+2007-11-01  Ivan N. Zlatev <[EMAIL PROTECTED]>
+
+       * ResolveNameEventArgs.cs: Fix Value to not return and set Name.
+
 2007-08-18  Ivan N. Zlatev <[EMAIL PROTECTED]>
 
        * ContextStack.cs: Update to 2.0.

Modified: 
trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.cs
===================================================================
--- 
trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.cs
   2007-11-01 21:10:42 UTC (rev 88683)
+++ 
trunk/mcs/class/System/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.cs
   2007-11-01 21:13:48 UTC (rev 88684)
@@ -3,8 +3,10 @@
 //
 // Author:
 //   Alejandro Sánchez Acosta ([EMAIL PROTECTED])
+//   Ivan N. Zlatev ([EMAIL PROTECTED])
 //
 // (C) Alejandro Sánchez Acosta
+// (C) 2007 Ivan N. Zlatev
 //
 
 //
@@ -34,6 +36,7 @@
        {
 
                private string name;
+               private object value;
        
                public ResolveNameEventArgs (string name) {
                        this.name = name;
@@ -47,11 +50,11 @@
 
                public object Value {
                        get {
-                               return this.name;
+                               return this.value;
                        }
 
                        set {
-                               name = (string) value;
+                               this.value = value;
                        }
                }                       
        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to