2005-06-09 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Thu, 9 Jun 2005 10:35:16 +0000 (10:35 -0000)
committerZoltan Varga <vargaz@gmail.com>
Thu, 9 Jun 2005 10:35:16 +0000 (10:35 -0000)
* ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.

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

mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/ModuleHandle.cs
mcs/class/corlib/System/RuntimeArgumentHandle.cs
mcs/class/corlib/System/RuntimeFieldHandle.cs
mcs/class/corlib/System/RuntimeMethodHandle.cs
mcs/class/corlib/System/RuntimeTypeHandle.cs

index 57254a76a7ed0b5617db16851cbcb54bc2cdb4f2..f6f895b89dd52f595bccb44e4eea2cf9f4b6cc0f 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
+
 2005-06-08  Zoltan Varga  <vargaz@freemail.hu>
 
        * Type.cs: Add missing 2.0 attributes.
index a0ffc1266bd368e276acb7ab0bf13c27cef4d914..98bc38156e1ba45c380e0f35e592433e45a3e23f 100644 (file)
@@ -33,6 +33,7 @@
 using System.Reflection;
 using System.Runtime.Serialization;
 using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
 
 #if NET_2_0
 
@@ -40,7 +41,7 @@ using System.Runtime.ConstrainedExecution;
 
 namespace System
 {
-       [CLSCompliant (false)]
+       [ComVisible (true)]
        public struct ModuleHandle
        {
                IntPtr value;
index dc567d791d6dea530b16eb538ff8ed3d8eae009f..07634e29a08a5a2d111a443886889720e5766a33 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System;
+using System.Runtime.InteropServices;
+
 namespace System
 {
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public struct RuntimeArgumentHandle
        {
                internal IntPtr args;
index dcaba2303de191f50af07e206c30dc7b76efffb7..b3089df7b76f57ac14c8984847fc90659bc33ae6 100644 (file)
@@ -33,6 +33,7 @@
 
 using System.Reflection;
 using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
 
 #if NET_2_0
 using System.Runtime.ConstrainedExecution;
@@ -40,6 +41,9 @@ using System.Runtime.ConstrainedExecution;
 
 namespace System
 {
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [MonoTODO ("Serialization needs tests")]
        [Serializable]
        public struct RuntimeFieldHandle : ISerializable
index 905e96939691b98910183a733a5e8670100c83b5..f8ef801821e71faed8869def649aaee6fdb4f9fe 100644 (file)
@@ -31,6 +31,7 @@
 using System.Reflection;
 using System.Runtime.Serialization;
 using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
 using System.Security.Permissions;
 
 #if NET_2_0
@@ -39,6 +40,9 @@ using System.Runtime.ConstrainedExecution;
 
 namespace System
 {
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [MonoTODO ("Serialization needs tests")]
        [Serializable]
        public struct RuntimeMethodHandle : ISerializable
index 6e2752258068746d850303099580848610e48a2c..17358e968ba298925b75263cfbf51c200a4b0420 100644 (file)
@@ -32,6 +32,7 @@
 //
 
 using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
 
 #if NET_2_0
 using System.Runtime.ConstrainedExecution;
@@ -39,6 +40,9 @@ using System.Runtime.ConstrainedExecution;
 
 namespace System
 {
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [MonoTODO ("Serialization needs tests")]
        [Serializable]
        public struct RuntimeTypeHandle : ISerializable