[Mono-list] XmlDocument.cs

ville vi64pa@koti.soon.fi
Sat, 30 Nov 2002 11:11:52 +0200


Hi

There must be some error in msdn becouse XmlDocument class contains:

protected internal virtual XPathNavigator CreateNavigator(XmlNode);

And XmlDataDocument class which is derived from XmlDocument contains

protected override XPathNavigator CreateNavigator(XmlNode);

So when trying to compile this:

System.Xml/XmlDataDocument.cs(276) error CS0507: 
`System.Xml.XmlDataDocument.CreateNavigator': can't change the access 
modifiers when overriding inherited member `XmlDocument.CreateNavigator'
Compilation failed: 1 error(s), 0 warnings

So should it be internal or just protected?

ville