Преглед изворни кода

* XsltContext.cs: Ctors are public in .NET 1.1. Fixes warnings in class status
page. Set eol-style to CRLF.

svn path=/trunk/mcs/; revision=61221

Gert Driesen пре 19 година
родитељ
комит
9f44a55efb

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

@@ -1,3 +1,8 @@
+2006-05-29  Gert Driesen  <[email protected]>
+
+	* XsltContext.cs: Ctors are public in .NET 1.1. Fixes warnings in 
+	class status page. Set eol-style to CRLF.
+
 2006-05-08  Atsushi Enomoto  <[email protected]>
 
 	* XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful

+ 12 - 2
mcs/class/System.XML/System.Xml.Xsl/XsltContext.cs

@@ -33,12 +33,22 @@ namespace System.Xml.Xsl
 	public abstract class XsltContext : XmlNamespaceManager
 	{
 		#region Constructors
-		protected XsltContext ()
+#if NET_2_0
+		protected
+#else
+		public
+#endif
+		XsltContext ()
 			: base (new NameTable ())
 		{
 		}
 
-		protected XsltContext (NameTable table)
+#if NET_2_0
+		protected
+#else
+		public
+#endif
+		XsltContext (NameTable table)
 			: base (table)
 		{
 		}