X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Text%2FEncodingInfo.cs;h=fd2b7a19de3c7d31391c0d5512d429dd5d00d74c;hb=a97b3ca8f076d2b4735567de39aa87319276866e;hp=599e2160d71319af9de979621b15627d56f52a3d;hpb=f1f8b8a867c800b21b6a03767252403c2f72cae2;p=mono.git diff --git a/mcs/class/corlib/System.Text/EncodingInfo.cs b/mcs/class/corlib/System.Text/EncodingInfo.cs index 599e2160d71..fd2b7a19de3 100644 --- a/mcs/class/corlib/System.Text/EncodingInfo.cs +++ b/mcs/class/corlib/System.Text/EncodingInfo.cs @@ -1,5 +1,5 @@ // -// EncodingInfo.cs +// System.Text.EncodingInfo.cs // // Author: // Atsushi Enomoto @@ -28,7 +28,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 namespace System.Text { @@ -60,9 +59,9 @@ namespace System.Text } } - public override bool Equals (object other) + public override bool Equals (object value) { - EncodingInfo ei = other as EncodingInfo; + EncodingInfo ei = value as EncodingInfo; return ei != null && ei.codepage == codepage; } @@ -78,5 +77,3 @@ namespace System.Text } } } - -#endif