Author: jbevain
Date: 2007-08-14 10:30:39 -0400 (Tue, 14 Aug 2007)
New Revision: 84082

Modified:
   trunk/mcs/mcs/class.cs
Log:
fix the 2.1 build

Modified: trunk/mcs/mcs/class.cs
===================================================================
--- trunk/mcs/mcs/class.cs      2007-08-14 14:26:53 UTC (rev 84081)
+++ trunk/mcs/mcs/class.cs      2007-08-14 14:30:39 UTC (rev 84082)
@@ -6267,7 +6267,7 @@
 
                virtual protected void ApplyToExtraTarget (Attribute a, 
CustomAttributeBuilder cb)
                {
-                       System.Diagnostics.Debug.Fail ("You forgot to define 
special attribute target handling");
+                       throw new NotSupportedException ("You forgot to define 
special attribute target handling");
                }
 
                // It is not supported for the accessors

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to