Sfoglia il codice sorgente

2007-10-25 Atsushi Enomoto <[email protected]>

	* UnicodeEncoding.cs : fix build.


svn path=/trunk/mcs/; revision=88155
Atsushi Eno 18 anni fa
parent
commit
fcf08f9da0

+ 4 - 0
mcs/class/corlib/System.Text/ChangeLog

@@ -1,3 +1,7 @@
+2007-10-25  Atsushi Enomoto  <[email protected]>
+
+	* UnicodeEncoding.cs : fix build.
+
 2007-10-25  Atsushi Enomoto  <[email protected]>
 
 	* DecoderReplacementFallbackBuffer.cs : Reset() should also reset the

+ 0 - 2
mcs/class/corlib/System.Text/UnicodeEncoding.cs

@@ -73,8 +73,6 @@ public class UnicodeEncoding : Encoding
 			SetFallbackInternal (null, new DecoderExceptionFallback ());
 		else
 			SetFallbackInternal (null, new DecoderReplacementFallback ("\uFFFD"));
-#else
-		throwOnInvalid = throwOnInvalidBytes;
 #endif
 
 		this.bigEndian = bigEndian;