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

Alex Graveley alex@ximian.com
19 Jan 2002 03:51:05 -0500


Hi,

The new .NET FrameworkSDK release breaks the class library compilation
because the System.Runtime.CompilerServices.CSharp.IndexerName attribute
has been renamed (wisely) to
System.Runtime.CompilerServices.IndexerNameAttribute.

The following patch fixes things.  I'll commit tomorrow afternoon if no
one has issues with being forced into the new version of .NET
FrameworkSDK.

-Alex

cvs server: Diffing System.XML/System.Xml
Index: System.XML/System.Xml/XmlNode.cs
===================================================================
RCS file: /cvs/public/mcs/class/System.XML/System.Xml/XmlNode.cs,v
retrieving revision 1.6
diff -r1.6 XmlNode.cs
165c165
< 		[System.Runtime.CompilerServices.CSharp.IndexerName("Item")]
---
> 		[System.Runtime.CompilerServices.IndexerNameAttribute("Item")]
751c751
< 		
\ No newline at end of file
---
> 		

-- 
 Think about it man!  Rock singers are only rockin you half the time... 
 the other time they're... they're breathing... in!  But not anymore 
 baby!

			-- Tenacious D