2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / OpCodeType.cs
index dae861f21e9a96158ee45d05993c323e5c433241..36d327b2f69f937047fec6608a3b70ca676a804e 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
 
        /// <summary>
        ///  Describes the types of MSIL instructions.
        /// </summary>
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum OpCodeType {
 
                /// <summary>
@@ -39,6 +43,9 @@ namespace System.Reflection.Emit {
                ///  additional information to particular
                ///  MSIL processor.
                /// </summary>
+#if NET_2_0
+               [Obsolete ("This API has been deprecated.")]
+#endif
                Annotation = 0,
 
                /// <summary>