Procházet zdrojové kódy

2002-08-26 Gonzalo Paniagua Javier <[email protected]>

	* XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
	that allowed compiling this.
	[ FIXME: filed bug #29435. mcs should have failed on this ]

svn path=/trunk/mcs/; revision=7048
Gonzalo Paniagua Javier před 23 roky
rodič
revize
71ed9a2dd0

+ 6 - 0
mcs/class/System.XML/System.Xml/ChangeLog

@@ -1,3 +1,9 @@
+2002-08-26  Gonzalo Paniagua Javier <[email protected]>
+
+	* XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
+	that allowed compiling this.
+	[ FIXME: filed bug #29435. mcs should have failed on this ]
+
 2002-08-25  Tim Coleman <[email protected]>
         * XmlNode.cs:
                 Change CreateNavigator to not be virtual.

+ 2 - 2
mcs/class/System.XML/System.Xml/XmlWriter.cs

@@ -15,8 +15,8 @@ namespace System.Xml
 	{
 		#region Fields
 
-		private WriteState ws = WriteState.Start;
-		private XmlNamespaceManager namespaceManager = new XmlNamespaceManager (new NameTable ());
+		protected WriteState ws = WriteState.Start;
+		protected XmlNamespaceManager namespaceManager = new XmlNamespaceManager (new NameTable ());
 
 		#endregion