[Mono-list] new .NET release breaks classlib compilation

Nick Drochak ndrochak@gol.com
Mon, 21 Jan 2002 23:40:36 +0900


> I just investigated this, and there is no mention of 
> System.Runtime.CompilerServices.CSharp.IndexerName in the 
> beta 2 docs. 
> I changed the XmlNode.cs source to say 
> System.Runtime.CompilerServices.IndexerNameAttribute instead 
> and it still compiles under beta 2.  I didn't try running any 
> tests though.

According to the 1.0 docs, the indexer name will be "Item" by default.
The attribute only needs to be used if you want the name to be something
other than that.  Since the attribute has no effect, as it's declaring
the name to be "Item", I suggest we remove it altogether.

Nick D.