2002-01-04 Ravi Pratap <ravi@ximian.com>
authorRavi Pratap M <ravi@mono-cvs.ximian.com>
Fri, 4 Jan 2002 16:06:55 +0000 (16:06 -0000)
committerRavi Pratap M <ravi@mono-cvs.ximian.com>
Fri, 4 Jan 2002 16:06:55 +0000 (16:06 -0000)
* Assembly.cs : Decorate missing bits with the MonoTODO
attribute.

* ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
ReflectionTypeLoadException.cs : Ditto.

* FieldInfo.cs : Ditto.

svn path=/trunk/mcs/; revision=1833

mcs/class/corlib/System.Reflection/Assembly.cs
mcs/class/corlib/System.Reflection/ChangeLog
mcs/class/corlib/System.Reflection/ConstructorInfo.cs
mcs/class/corlib/System.Reflection/FieldInfo.cs
mcs/class/corlib/System.Reflection/MonoMethod.cs
mcs/class/corlib/System.Reflection/MonoProperty.cs
mcs/class/corlib/System.Reflection/ParameterInfo.cs
mcs/class/corlib/System.Reflection/ReflectionTypeLoadException.cs

index 3f02d06c94f46659e277b1f0583d6e1e6e87dfdf..82b86fd2877102e35ad36cae859b0077c8a82f43 100644 (file)
@@ -154,22 +154,26 @@ namespace System.Reflection {
                {
                        return GetName ().Name;
                }
-               
+
+               [MonoTODO]
                public static String CreateQualifiedName(String assemblyName, String typeName) 
                {
                        return "FIXME: assembly";
                }
 
+               [MonoTODO]
                public static String nCreateQualifiedName(String assemblyName, String typeName)
                {
                        return "FIXME: assembly";
                }
 
+               [MonoTODO]
                public static Assembly GetAssembly(Type type)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                public Assembly GetSatelliteAssembly(CultureInfo culture)
                {
                        throw new NotImplementedException ();
index b59dbcc9c8edb4b9a1691676517e3f1e0b98f4af..c195ce1bc62de35e8992f97ab1637662ac5ac14d 100644 (file)
@@ -1,4 +1,13 @@
+2002-01-04  Ravi Pratap  <ravi@ximian.com>\r
 \r
+       * Assembly.cs : Decorate missing bits with the MonoTODO\r
+       attribute.\r
+\r
+       * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,\r
+       ReflectionTypeLoadException.cs : Ditto.\r
+\r
+       * FieldInfo.cs : Ditto.\r
+       \r
 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>\r
        \r
        * Assembly.cs: trow unimplemented exceptions.\r
index 41f566ab5b46965625addf24228d405d99a56bf2..04fcc09b8f714ce1ac95728beab17e1c37438f23 100644 (file)
@@ -23,13 +23,15 @@ namespace System.Reflection {
                        get {return MemberTypes.Constructor;}
                }
 
+               [MonoTODO]
                public object Invoke (object[] parameters)
                {
                        //FIXME
                        return null;
                }
 
-               public abstract object Invoke( BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
-
+               public abstract object Invoke (BindingFlags invokeAttr, Binder binder, object[] parameters,
+                                              CultureInfo culture);
+               
        }
 }
index fd1dad7cc910eef9830786e381b8d91d71c4353a..6fe48cc16e641625571162c0c30c8d40144b7632 100755 (executable)
@@ -45,8 +45,12 @@ namespace System.Reflection {
                        get {return (Attributes & FieldAttributes.InitOnly) != 0;}
                } 
 
-               public virtual void SetValue( object obj, object val, BindingFlags invokeAttr, Binder binder, CultureInfo culture) {
+               [MonoTODO]
+               public virtual void SetValue (object obj, object val, BindingFlags invokeAttr, Binder binder,
+                                             CultureInfo culture) {
                }
+
+               [MonoTODO]
                public void SetValue( object obj, object value) {
                }
        }
index 17ec33f488a203886a1e40d309e70a72d8597db1..fb7305fd48e079a691daeb790cb8fe031ac67b0d 100755 (executable)
@@ -35,7 +35,7 @@ namespace System.Reflection {
        internal class MonoMethod : MethodInfo {
                internal RuntimeMethodHandle mhandle;
                
-               
+               [MonoTODO]
                public override MethodInfo GetBaseDefinition() {
                        return this; /* FIXME */
                }
@@ -59,7 +59,8 @@ namespace System.Reflection {
                public override ParameterInfo[] GetParameters() {
                        return MonoMethodInfo.get_parameter_info (mhandle);
                }
-               
+
+               [MonoTODO]
                public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) {
                        throw new NotImplementedException ();
                }
@@ -162,15 +163,19 @@ namespace System.Reflection {
                                return info.name;
                        }
                }
-               
+
+               [MonoTODO]
                public override bool IsDefined (Type attribute_type, bool inherit) {
                        return false;
                }
 
-               public override object[] GetCustomAttributes( bool inherit) {
+               [MonoTODO]
+               public override object[] GetCustomAttributes (bool inherit) {
                        return null;
                }
-               public override object[] GetCustomAttributes( Type attributeType, bool inherit) {
+
+               [MonoTODO]
+               public override object[] GetCustomAttributes (Type attributeType, bool inherit) {
                        return null;
                }
        }
index dbfb1c04c934b16983df20c368d43505dabef904..874dee650d31e511a48849c0e3f233347ac3c167 100755 (executable)
@@ -53,6 +53,8 @@ namespace System.Reflection {
                                return (info.set_method != null);
                        }
                }
+
+               [MonoTODO]
                public override Type PropertyType {
                        get {
                                MonoPropertyInfo info;
@@ -87,6 +89,8 @@ namespace System.Reflection {
                                return info.name;
                        }
                }
+
+               [MonoTODO]
                public override MethodInfo[] GetAccessors( bool nonPublic) {
                        // FIXME: check nonPublic
                        MonoPropertyInfo info;
@@ -104,6 +108,8 @@ namespace System.Reflection {
                                res [n++] = info.get_method;
                        return res;
                }
+
+               [MonoTODO]
                public override MethodInfo GetGetMethod( bool nonPublic) {
                        // FIXME: check nonPublic
                        MonoPropertyInfo info;
index b0d970be7d02b208a48e080c94149414762e4a5a..70ba61f540275c357ae7c246d8ae94e96d9dc9fc 100644 (file)
@@ -60,17 +60,21 @@ namespace System.Reflection
                        get {return PositionImpl;}
                }
 
+               [MonoTODO]
                public virtual object[] GetCustomAttributes (bool inherit)
                {
                        // FIXME
                        return null;
                }
 
+               [MonoTODO]
                public virtual object[] GetCustomAttributes (Type attributeType, bool inherit)
                {
                        // FIXME
                        return null;
                }
+
+               [MonoTODO]
                public virtual bool IsDefined( Type attributeType, bool inherit) {
                        // FIXME
                        return false;
index bfb3af83c77d9776325bd9acd8669c332479f225..1c7a1d0019fd2d354a87ad365d810aa4670931af 100644 (file)
@@ -9,6 +9,7 @@ namespace System.Reflection
        public sealed class ReflectionTypeLoadException : SystemException
        {
 
+               [MonoTODO]
                public Type[] Types {
                        get {
                                // FIXME
@@ -16,6 +17,7 @@ namespace System.Reflection
                        }
                }
 
+               [MonoTODO]
                public Exception[] LoaderExceptions {
                        get {
                                // FIXME