2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / OperandType.cs
index 795d6ef60d3e35c94f68f03a191477ed0e3f7f6b..a04e983da81d63f8c0a18c7ed476f024a1824e3d 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 operand types of MSIL instructions.
        /// </summary>
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum OperandType {
 
                /// <summary>
@@ -59,6 +63,9 @@ namespace System.Reflection.Emit {
 
                /// <summary>
                /// </summary>
+#if NET_2_0
+               [Obsolete ("This API has been deprecated.")]
+#endif
                InlinePhi = 6,
 
                /// <summary>