[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / I18N / MidEast / Test / I18N.MidEast.Test.cs
index 50a0748d2c2073bf1467ae15bd1a1ae0a83af57b..85b03b3be3ee76803c4fcc1d92bc697c0f6ae852 100644 (file)
@@ -45,14 +45,10 @@ namespace MonoTests.I18N.MidEast
                        //Encoding enc = Manager.GetEncoding(codepage);
                        Encoding enc;
                        if (fallbackString != null) {
-#if NET_2_0
                                enc = Encoding.GetEncoding(codepage,
                                         new System.Text.EncoderReplacementFallback(fallbackString),
                                         new System.Text.DecoderReplacementFallback("irrelevant")
                                        );
-#else
-                               throw new InvalidOperationException("DotNet < 2.0 doesn't support encoder fallback");
-#endif
                        } else {
                                enc = Encoding.GetEncoding(codepage);
                        }