2005-11-07 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / FlowControl.cs
index 3caf276fa36ec4cbfd8402b382ca915250a82c2d..fdc14b45c3522dc0529767eefde242f1b1099ae7 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-
+using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
 
        /// <summary>
        ///  Describes how an instruction alters the flow of control.
        /// </summary>
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum FlowControl {
 
                /// <summary>
@@ -69,6 +72,9 @@ namespace System.Reflection.Emit {
                /// <summary>
                ///  Annotation for ann.phi instruction.
                /// </summary>
+#if NET_2_0
+               [Obsolete ("This API has been deprecated.")]
+#endif
                Phi = 6,
 
                /// <summary>