Author: marek
Date: 2008-02-13 09:29:49 -0500 (Wed, 13 Feb 2008)
New Revision: 95579

Modified:
   trunk/mcs/mcs/codegen.cs
   trunk/mcs/mcs/generic.cs
Log:
Fixed build



Modified: trunk/mcs/mcs/codegen.cs
===================================================================
--- trunk/mcs/mcs/codegen.cs    2008-02-13 14:03:08 UTC (rev 95578)
+++ trunk/mcs/mcs/codegen.cs    2008-02-13 14:29:49 UTC (rev 95579)
@@ -1460,7 +1460,7 @@
                                ConstructorInfo ci = 
TypeManager.GetCoreConstructor (
                                        
TypeManager.runtime_compatibility_attr_type, Type.EmptyTypes);
                                PropertyInfo [] pis = new PropertyInfo [1];
-                               pis [0] = TypeManager.GetProperty (
+                               pis [0] = TypeManager.GetCoreProperty (
                                        
TypeManager.runtime_compatibility_attr_type, "WrapNonExceptionThrows");
                                object [] pargs = new object [1];
                                pargs [0] = true;

Modified: trunk/mcs/mcs/generic.cs
===================================================================
--- trunk/mcs/mcs/generic.cs    2008-02-13 14:03:08 UTC (rev 95578)
+++ trunk/mcs/mcs/generic.cs    2008-02-13 14:29:49 UTC (rev 95579)
@@ -3104,8 +3104,8 @@
                                Type = type;
                                UnderlyingType = TypeManager.GetTypeArguments 
(type) [0];
 
-                               PropertyInfo has_value_pi = 
TypeManager.GetProperty (type, "HasValue");
-                               PropertyInfo value_pi = TypeManager.GetProperty 
(type, "Value");
+                               PropertyInfo has_value_pi = 
TypeManager.GetCoreProperty (type, "HasValue");
+                               PropertyInfo value_pi = 
TypeManager.GetCoreProperty (type, "Value");
 
                                HasValue = has_value_pi.GetGetMethod (false);
                                Value = value_pi.GetGetMethod (false);

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

Reply via email to