|
|
@@ -55,8 +55,6 @@ namespace System.Reflection.Emit {
|
|
|
tokValue = val;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/// <summary>
|
|
|
/// </summary>
|
|
|
public override bool Equals (object obj)
|
|
|
@@ -72,6 +70,13 @@ namespace System.Reflection.Emit {
|
|
|
}
|
|
|
|
|
|
|
|
|
+#if NET_2_0
|
|
|
+ public bool Equals (FieldToken obj)
|
|
|
+ {
|
|
|
+ return (this.tokValue == obj.tokValue);
|
|
|
+ }
|
|
|
+#endif
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// Tests whether the given object is an instance of
|
|
|
/// FieldToken and has the same token value.
|