2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / Label.cs
index 59363bc45fbf88bc9dd1fc5e9389be5c8bf00b47..130fb9278fe9a062f7340958ff98ce5b912d6779 100644 (file)
@@ -61,6 +61,14 @@ namespace System.Reflection.Emit {
                {
                        return (label == obj.label);
                }
+
+               public static bool operator == (Label a, Label b) {
+                       return a.Equals (b);
+               }
+
+               public static bool operator != (Label a, Label b) {
+                       return !(a == b);
+               }
 #endif
 
                public override int GetHashCode () {