Rationalize MonoTODO
authorMiguel de Icaza <miguel@gnome.org>
Thu, 30 Nov 2006 00:30:05 +0000 (00:30 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 30 Nov 2006 00:30:05 +0000 (00:30 -0000)
svn path=/trunk/mcs/; revision=68712

mcs/class/corlib/System/Activator.cs
mcs/class/corlib/System/IFormatProvider.cs
mcs/class/corlib/System/MonoType.cs
mcs/class/corlib/System/TimeZone.cs
mcs/class/corlib/System/Type.cs

index 5eddaa34a6c5874ae2a97f68e134f0da507f5504..c5d286424c56e93fd5be4f507a350d6a33c9a8f3 100644 (file)
@@ -73,7 +73,7 @@ namespace System
                }
 
 #if NET_1_1
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static ObjectHandle CreateComInstanceFrom (string assemblyName, string typeName,
                                                                  byte []hashValue, AssemblyHashAlgorithm hashAlgorithm)
                {
index d0893fd78c01644954649ae3febfa6a516b8def9..3b1a8379e2bcbaf73a7bc6cffc096909a765f552 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+using System.Runtime.InteropServices;
 
 namespace System {
 
+#if NET_2_0
+        [ComVisible(true)]
+#endif
        public interface IFormatProvider {
                object GetFormat (Type format_type);
        }
index 439786668613fd90020b2f23b8020635676790b1..2a33ae268216426de64cd1fed6b36b8f86982c64 100644 (file)
@@ -45,7 +45,6 @@ namespace System
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                private static extern void type_from_obj (MonoType type, Object obj);
                
-               [MonoTODO]
                internal MonoType (Object obj)
                {
                        // this should not be used - lupus
index 7efd28c021b0608c6e1d3ae3c26df5b4c70e3b25..e6442abcf5500816c312cf4471b613054645e1f9 100644 (file)
@@ -341,7 +341,6 @@ namespace System
                }
 
                // Methods
-               [MonoTODO]
                public override DaylightTime GetDaylightChanges (int year)
                {
                        if (year < 1 || year > 9999)
index d67c1f21d0f2ad8f08b0aa6077b474036b4c6113..86137f3e467c1118ac16842471f056a7616cdae6 100644 (file)
@@ -489,25 +489,25 @@ namespace System {
                                return GetTypeCodeInternal (type);
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromCLSID (Guid clsid)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromCLSID (Guid clsid, bool throwOnError)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromCLSID (Guid clsid, string server)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromCLSID (Guid clsid, string server, bool throwOnError)
                {
                        throw new NotImplementedException ();
@@ -518,25 +518,25 @@ namespace System {
                        return internal_from_handle (handle.Value);
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromProgID (string progID)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromProgID (string progID, bool throwOnError)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromProgID (string progID, string server)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO("Mono does not support COM")]
                public static Type GetTypeFromProgID (string progID, string server, bool throwOnError)
                {
                        throw new NotImplementedException ();
@@ -1234,10 +1234,10 @@ namespace System {
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern virtual Type MakePointerType ();
 
-               [MonoTODO]
+               [MonoTODO("Not implemented")]
                public static Type ReflectionOnlyGetType (string typeName, 
-                                                                                                 bool throwIfNotFound, 
-                                                                                                 bool ignoreCase)
+                                                         bool throwIfNotFound, 
+                                                         bool ignoreCase)
                {
                        throw new NotImplementedException ();
                }