diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-08-26 07:14:30 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-08-26 07:14:30 +0400 |
commit | 71ed9a2dd065d050dba59820bbd39b855a629c63 (patch) | |
tree | 5a42af3b378181af5154810029f730ba16713dbc /mcs/class/System.XML | |
parent | b83d3bf2ad45bb207a95f8fc45775112c30801b2 (diff) |
2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r-- | mcs/class/System.XML/System.Xml/ChangeLog | 6 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlWriter.cs | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mcs/class/System.XML/System.Xml/ChangeLog b/mcs/class/System.XML/System.Xml/ChangeLog index 35802d27442..2dbe7e6c862 100644 --- a/mcs/class/System.XML/System.Xml/ChangeLog +++ b/mcs/class/System.XML/System.Xml/ChangeLog @@ -1,3 +1,9 @@ +2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * 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 <tim@timcoleman.com> * XmlNode.cs: Change CreateNavigator to not be virtual. diff --git a/mcs/class/System.XML/System.Xml/XmlWriter.cs b/mcs/class/System.XML/System.Xml/XmlWriter.cs index 4f95f200b2b..83dbe4c8900 100644 --- a/mcs/class/System.XML/System.Xml/XmlWriter.cs +++ b/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 |