Fix null sessions in HttpContextWrapper.Session
[mono.git] / mcs / class / corlib / System.Reflection.Emit / OperandType.cs
index a04e983da81d63f8c0a18c7ed476f024a1824e3d..f7c5d0a7dc55f5189ad2ad0b5cb44dd5057dfe8e 100644 (file)
@@ -32,9 +32,8 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Describes the operand types of MSIL instructions.
        /// </summary>
-#if NET_2_0
        [ComVisible (true)]
-#endif
+       [Serializable]
        public enum OperandType {
 
                /// <summary>
@@ -63,9 +62,7 @@ namespace System.Reflection.Emit {
 
                /// <summary>
                /// </summary>
-#if NET_2_0
                [Obsolete ("This API has been deprecated.")]
-#endif
                InlinePhi = 6,
 
                /// <summary>