ソースを参照

2009-02-19 Geoff Norton <[email protected]>

        * SerializationSource.cs: KeyHelper is needed by
        the 2.1 profile now.

svn path=/trunk/mcs/; revision=127368
Geoff Norton 17 年 前
コミット
869f7efb5f

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

@@ -1,3 +1,8 @@
+2009-02-19  Geoff Norton  <[email protected]>
+
+	* SerializationSource.cs: KeyHelper is needed by
+	the 2.1 profile now.
+
 2009-01-22  Atsushi Enomoto  <[email protected]>
 
 	* XmlSchemaImporter.cs : hack ImportSchemaType().

+ 2 - 0
mcs/class/System.XML/System.Xml.Serialization/SerializationSource.cs

@@ -34,6 +34,7 @@ using System.Text;
 
 namespace System.Xml.Serialization 
 {
+#if !NET_2_1
 	internal abstract class SerializationSource 
 	{
 		Type[] includedTypes;
@@ -186,6 +187,7 @@ namespace System.Xml.Serialization
 			return membersHash.GetHashCode ();
 		}
 	}
+#endif
 	
 	internal class KeyHelper
 	{