Просмотр исходного кода

2006-07-27 Atsushi Enomoto <[email protected]>

	* XmlSchemaException.cs : oops, .ctor(string) was only for 2.0.


svn path=/trunk/mcs/; revision=63027
Atsushi Eno 19 лет назад
Родитель
Сommit
e9614b4d3e

+ 4 - 0
mcs/class/System.XML/System.Xml.Schema/ChangeLog

@@ -1,3 +1,7 @@
+2006-07-27  Atsushi Enomoto <[email protected]>
+
+	* XmlSchemaException.cs : oops, .ctor(string) was only for 2.0.
+
 2006-07-27  Atsushi Enomoto <[email protected]>
 
 	* XmlSchemaCollection.cs :

+ 7 - 2
mcs/class/System.XML/System.Xml.Schema/XmlSchemaException.cs

@@ -51,12 +51,17 @@ namespace System.Xml.Schema
 			: this ("A schema error occured.", null)
 		{
 		}
+#endif
 
-		public XmlSchemaException (string message)
+#if NET_2_0
+		public
+#else
+		internal
+#endif
+		XmlSchemaException (string message)
 			: this (message, null)
 		{
 		}
-#endif
 
 		protected XmlSchemaException(SerializationInfo info, StreamingContext context)
 			: base (info, context)