projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
class
/
corlib
/
System.Reflection.Emit
/
Label.cs
diff --git
a/mcs/class/corlib/System.Reflection.Emit/Label.cs
b/mcs/class/corlib/System.Reflection.Emit/Label.cs
index 59363bc45fbf88bc9dd1fc5e9389be5c8bf00b47..130fb9278fe9a062f7340958ff98ce5b912d6779 100644
(file)
--- a/
mcs/class/corlib/System.Reflection.Emit/Label.cs
+++ b/
mcs/class/corlib/System.Reflection.Emit/Label.cs
@@
-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 () {