X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Reflection.Emit%2FMethodToken.cs;h=f3351e8874f4d0e298ba50146bae2667eaf0f7e8;hb=b55f4ec257741ce00eaf78029ea8c60a7a61f085;hp=d0df92699d31394c39fc364dd1a95963acb71abe;hpb=93703b4ef8bdcf1d6cf336e14f534454221730c5;p=mono.git diff --git a/mcs/class/corlib/System.Reflection.Emit/MethodToken.cs b/mcs/class/corlib/System.Reflection.Emit/MethodToken.cs index d0df92699d3..f3351e8874f 100644 --- a/mcs/class/corlib/System.Reflection.Emit/MethodToken.cs +++ b/mcs/class/corlib/System.Reflection.Emit/MethodToken.cs @@ -74,6 +74,16 @@ namespace System.Reflection.Emit { { return (this.tokValue == obj.tokValue); } + + public static bool operator == (MethodToken a, MethodToken b) + { + return Equals (a, b); + } + + public static bool operator != (MethodToken a, MethodToken b) + { + return !Equals (a, b); + } #endif ///