Merge pull request #820 from brendanzagaeski/master
[mono.git] / mcs / class / corlib / System.Reflection.Emit / StackBehaviour.cs
index df6b8ab49f26c3450be1c42e9d1a1a2d47a20bb2..16a271495926aa4e1fd61c990b76076dc7b89328 100644 (file)
@@ -25,6 +25,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME || IOS_REFLECTION
 using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
@@ -32,10 +33,8 @@ namespace System.Reflection.Emit {
        /// <summary>
        ///  Describes how values are pushed onto or popped off a stack.
        /// </summary>
-#if NET_2_0
        [ComVisible (true)]
        [Serializable]
-#endif
        public enum StackBehaviour {
 
                /// <summary>
@@ -148,12 +147,10 @@ namespace System.Reflection.Emit {
 
                /// <summary>
                /// </summary>
-               Varpush = 0x1B
-
-#if NET_2_0
-               ,
+               Varpush = 0x1B,
                Popref_popi_pop1 = 0x1C
-#endif
+
        }
 
 }
+#endif