Author: martin
Date: 2005-04-15 12:11:03 -0400 (Fri, 15 Apr 2005)
New Revision: 43065

Modified:
   trunk/mcs/gmcs/attribute.cs
Log:
**** Merged r41867 from MCS ****


Modified: trunk/mcs/gmcs/attribute.cs
===================================================================
--- trunk/mcs/gmcs/attribute.cs 2005-04-15 16:09:41 UTC (rev 43064)
+++ trunk/mcs/gmcs/attribute.cs 2005-04-15 16:11:03 UTC (rev 43065)
@@ -1090,7 +1090,10 @@
                                for (int i = 0; i < field_info_arr.Length; i++) 
{
                                        switch (field_info_arr [i].Name) {
                                                case "BestFitMapping":
-                                                       throw new 
NotImplementedException ();
+                                                       Report.Error (-1, 
Location,
+                                                                     "There is 
no way to set the ThrowOnUnmappableChar " +
+                                                                     "property 
with Reflection");
+                                                       return null;
                                                case "CallingConvention":
                                                        cc = 
(CallingConvention) field_values_arr [i];
                                                        break;
@@ -1110,7 +1113,11 @@
                                                        char_set_extra |= 0x40;
                                                        break;
                                                case "ThrowOnUnmappableChar":
-                                                       throw new 
NotImplementedException ();
+                                                       Report.Error (-1, 
Location,
+                                                                     "There is 
no way to set the ThrowOnUnmappableChar " +
+                                                                     "property 
with Reflection");
+                                                       return null;
+                                                       
                                                default: 
                                                        throw new 
InternalErrorException (field_info_arr [i].ToString ());
                                        }

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

Reply via email to