Browse Source

2009-07-22 Atsushi Enomoto <[email protected]>

	* XmlDictionaryReader.cs : ReadValueAsBase64(byte[],int,int) is only
	  in SL2.


svn path=/trunk/mcs/; revision=138387
Atsushi Eno 16 years ago
parent
commit
4d231fec12

+ 5 - 0
mcs/class/System.Runtime.Serialization/System.Xml/ChangeLog

@@ -1,3 +1,8 @@
+2009-07-22  Atsushi Enomoto  <[email protected]>
+
+	* XmlDictionaryReader.cs : ReadValueAsBase64(byte[],int,int) is only
+	  in SL2.
+
 2009-07-14  Atsushi Enomoto  <[email protected]>
 
 	* XmlBinaryDictionaryReader.cs : read false (0x84) and true (0x86).

+ 2 - 0
mcs/class/System.Runtime.Serialization/System.Xml/XmlDictionaryReader.cs

@@ -453,10 +453,12 @@ namespace System.Xml
 			return base.ReadString ();
 		}
 
+#if NET_2_1
 		public virtual byte [] ReadValueAsBase64 (byte [] bytes, int start, int length)
 		{
 			throw new NotSupportedException (); // as it is documented ...
 		}
+#endif
 
 		public virtual bool TryGetValueAsDictionaryString (out XmlDictionaryString value)
 		{