[Mono-list] System.Xml.XmlAttributeCollection.ItemOf Inaccessible

awilliam@whitemice.org awilliam@whitemice.org
Tue, 31 Aug 2004 16:21:32 -0400 (EDT)

Is this supposed to be true....

'System.Xml.XmlAttributeCollection.ItemOf' is inaccessible due 
to its protection level(CS0122)

...with code like -

private static void ParseModules(XmlNodeList xmlNodeList)
 int moduleNumber = 0;
 foreach(XmlNode xmlNode in xmlNodeList)
  Console.WriteLine("Processing Module: " + moduleNumber);
  Console.WriteLine("  Assembly Name: " +

I find code examples using xmlNode.Attributes.ItemOf["Assembly"].Value on 
the web, so I'm confused why it is inaccessible.  I can get the 
ChildNodes and get their InnerText.