X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Reflection.Emit%2FStackBehaviour.cs;h=16a271495926aa4e1fd61c990b76076dc7b89328;hb=c39718bbb394fe97281e6e64945b4572bef29121;hp=ee9ce52d2808222de93814ae7e3b40fb2b5e580d;hpb=5d9434fcb3acc1ed7d3d30603faae797d672fe65;p=mono.git diff --git a/mcs/class/corlib/System.Reflection.Emit/StackBehaviour.cs b/mcs/class/corlib/System.Reflection.Emit/StackBehaviour.cs index ee9ce52d280..16a27149592 100644 --- a/mcs/class/corlib/System.Reflection.Emit/StackBehaviour.cs +++ b/mcs/class/corlib/System.Reflection.Emit/StackBehaviour.cs @@ -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,9 +33,8 @@ namespace System.Reflection.Emit { /// /// Describes how values are pushed onto or popped off a stack. /// -#if NET_2_0 [ComVisible (true)] -#endif + [Serializable] public enum StackBehaviour { /// @@ -147,12 +147,10 @@ namespace System.Reflection.Emit { /// /// - Varpush = 0x1B - -#if NET_2_0 - , + Varpush = 0x1B, Popref_popi_pop1 = 0x1C -#endif + } } +#endif