Small API updates
authorMiguel de Icaza <miguel@gnome.org>
Mon, 24 Jul 2006 22:19:42 +0000 (22:19 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 24 Jul 2006 22:19:42 +0000 (22:19 -0000)
svn path=/trunk/mcs/; revision=62933

mcs/class/corlib/System.Diagnostics/DebuggerDisplayAttribute.cs
mcs/class/corlib/System.Reflection/MethodInfo.cs

index 1f21699c5fed24f51da83f77698233e77748d2ca..9f58b4e448f08c2665d675b1b0b7c15c74695d01 100644 (file)
@@ -39,7 +39,7 @@ namespace System.Diagnostics {
        internal sealed class DebuggerDisplayAttribute : Attribute
 #endif
        {
-               string value;
+               string value, type, name;
                string target_type_name;
                Type target_type;
 
@@ -71,6 +71,26 @@ namespace System.Diagnostics {
                                target_type_name = value;
                        }
                }
+
+               public string Type {
+                       get {
+                               return type;
+                       }
+
+                       set {
+                               type = value;
+                       }
+               }
+
+               public string Name {
+                       get {
+                               return name;
+                       }
+
+                       set {
+                               type = name;
+                       }
+               }
        }
 
 }
index 3dd5b40b8eacec2a8537c0e761628ba744566989..e893da874ebc60db5190b56c67ae6df748e179f2 100644 (file)
@@ -98,6 +98,12 @@ namespace System.Reflection {
                {
                        throw new NotSupportedException (this.GetType().ToString ());
                }
+
+               public virtual ParameterInfo ReturnParameter {
+                       get {
+                               throw new NotSupportedException ();                             
+                       }
+               }
 #endif
        }
 }