X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Reflection.Emit%2FOperandType.cs;h=2985b1b57ee0b5679081e19791641a0e738a8e79;hb=3fb128ac0de7cca459098c2dc3359d81f5e48353;hp=a04e983da81d63f8c0a18c7ed476f024a1824e3d;hpb=9869ae24b88761ab261c4311e24f7383b4af3f02;p=mono.git diff --git a/mcs/class/corlib/System.Reflection.Emit/OperandType.cs b/mcs/class/corlib/System.Reflection.Emit/OperandType.cs index a04e983da81..2985b1b57ee 100644 --- a/mcs/class/corlib/System.Reflection.Emit/OperandType.cs +++ b/mcs/class/corlib/System.Reflection.Emit/OperandType.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 the operand types of MSIL instructions. /// -#if NET_2_0 [ComVisible (true)] -#endif + [Serializable] public enum OperandType { /// @@ -63,9 +63,7 @@ namespace System.Reflection.Emit { /// /// -#if NET_2_0 [Obsolete ("This API has been deprecated.")] -#endif InlinePhi = 6, /// @@ -115,3 +113,4 @@ namespace System.Reflection.Emit { } +#endif