Author: kornelpal
Date: 2006-07-06 10:27:38 -0400 (Thu, 06 Jul 2006)
New Revision: 62316
Modified:
trunk/mcs/class/corlib/System.Text/ChangeLog
trunk/mcs/class/corlib/System.Text/CodePageEncoding.cs
trunk/mcs/class/corlib/System.Text/MLangCodePageEncoding.cs
trunk/mcs/class/corlib/System.Text/SurrogateEncoder.cs
Log:
Corrected comments.
Modified: trunk/mcs/class/corlib/System.Text/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Text/ChangeLog 2006-07-06 14:25:10 UTC
(rev 62315)
+++ trunk/mcs/class/corlib/System.Text/ChangeLog 2006-07-06 14:27:38 UTC
(rev 62316)
@@ -1,3 +1,9 @@
+2006-07-06 Kornél Pál <[EMAIL PROTECTED]>
+
+ * CodePageEncoding.cs: Corrected comments.
+ * MLangCodePageEncoding.cs: Corrected comments.
+ * SurrogateEncoder.cs: Corrected comments.
+
2006-07-05 Kornél Pál <[EMAIL PROTECTED]>
* CodePageEncoding.cs: Return the same real object in subsequent
Modified: trunk/mcs/class/corlib/System.Text/CodePageEncoding.cs
===================================================================
--- trunk/mcs/class/corlib/System.Text/CodePageEncoding.cs 2006-07-06
14:25:10 UTC (rev 62315)
+++ trunk/mcs/class/corlib/System.Text/CodePageEncoding.cs 2006-07-06
14:27:38 UTC (rev 62316)
@@ -32,7 +32,7 @@
// These proxy classes implement IObjectReference.GetRealObject() that returns
// an instance of the appropriate Encoding, Encoder or Decoder class.
// As a result serialized objects of these types will transparently be
-// deserialized to the instances of the above described classes.
+// deserialized to instances of the above described classes.
//
// Use SerializationInfo.SetType() in ISerializable.GetObjectData() method of
// serializable classes to serialize their instances using a proxy class.
@@ -110,6 +110,7 @@
this.encoderFallback = (EncoderFallback)
info.GetValue ("encoderFallback", typeof (EncoderFallback));
this.decoderFallback = (DecoderFallback)
info.GetValue ("decoderFallback", typeof (DecoderFallback));
} catch (SerializationException) {
+ // .NET Framework 1.x has no fallbacks
this.isReadOnly = true;
}
#endif
Modified: trunk/mcs/class/corlib/System.Text/MLangCodePageEncoding.cs
===================================================================
--- trunk/mcs/class/corlib/System.Text/MLangCodePageEncoding.cs 2006-07-06
14:25:10 UTC (rev 62315)
+++ trunk/mcs/class/corlib/System.Text/MLangCodePageEncoding.cs 2006-07-06
14:27:38 UTC (rev 62316)
@@ -32,7 +32,7 @@
// These proxy classes implement IObjectReference.GetRealObject() that returns
// an instance of the appropriate Encoding, Encoder or Decoder class.
// As a result serialized objects of these types will transparently be
-// deserialized to the instances of the above described classes.
+// deserialized to instances of the above described classes.
//
// Use SerializationInfo.SetType() in ISerializable.GetObjectData() method of
// serializable classes to serialize their instances using a proxy class.
@@ -166,6 +166,7 @@
this.encoderFallback = (EncoderFallback)
info.GetValue ("encoderFallback", typeof (EncoderFallback));
this.decoderFallback = (DecoderFallback)
info.GetValue ("decoderFallback", typeof (DecoderFallback));
} catch (SerializationException) {
+ // .NET Framework 1.x has no fallbacks
this.isReadOnly = true;
}
#endif
Modified: trunk/mcs/class/corlib/System.Text/SurrogateEncoder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Text/SurrogateEncoder.cs 2006-07-06
14:25:10 UTC (rev 62315)
+++ trunk/mcs/class/corlib/System.Text/SurrogateEncoder.cs 2006-07-06
14:27:38 UTC (rev 62316)
@@ -32,7 +32,7 @@
// These proxy classes implement IObjectReference.GetRealObject() that returns
// an instance of the appropriate Encoding, Encoder or Decoder class.
// As a result serialized objects of these types will transparently be
-// deserialized to the instances of the above described classes.
+// deserialized to instances of the above described classes.
//
// Use SerializationInfo.SetType() in ISerializable.GetObjectData() method of
// serializable classes to serialize their instances using a proxy class.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches