projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert broken changes.
[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 32b58869ea2e428a05324ca9663417f65a2317a1..19be26c6dea8a710fd643cf2a8fe06cfeb690813 100644
(file)
--- a/
mcs/class/corlib/System.Reflection.Emit/Label.cs
+++ b/
mcs/class/corlib/System.Reflection.Emit/Label.cs
@@
-8,15
+8,22
@@
//
namespace System.Reflection.Emit {
//
namespace System.Reflection.Emit {
+ [Serializable]
public struct Label {
public struct Label {
-
public
int label;
+
internal
int label;
+ internal Label (int val) {
+ label = val;
+ }
+
+ [MonoTODO]
public override bool Equals (object obj) {
public override bool Equals (object obj) {
+ /* FIXME */
return false;
}
public override int GetHashCode () {
return false;
}
public override int GetHashCode () {
- return label;
+ return label
.GetHashCode ()
;
}
}
}
}
}
}