Use more specific types
authorMarek Safar <marek.safar@gmail.com>
Wed, 6 Mar 2013 14:49:46 +0000 (15:49 +0100)
committerMarek Safar <marek.safar@gmail.com>
Wed, 6 Mar 2013 14:49:46 +0000 (15:49 +0100)
mcs/class/corlib/System/MonoCustomAttrs.cs

index d17cfc1c09dfb6935b0b5ee5684fcf5e82b53f51..870b2306f1ac64a497a82c70ef983038e3c11257 100644 (file)
@@ -326,7 +326,7 @@ namespace System
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                internal static extern bool IsDefinedInternal (ICustomAttributeProvider obj, Type AttributeType);
 
-               static PropertyInfo GetBasePropertyDefinition (PropertyInfo property)
+               static PropertyInfo GetBasePropertyDefinition (MonoProperty property)
                {
                        MethodInfo method = property.GetGetMethod (true);
                        if (method == null || !method.IsVirtual)
@@ -351,7 +351,7 @@ namespace System
 
                }
 
-               static EventInfo GetBaseEventDefinition (EventInfo evt)
+               static EventInfo GetBaseEventDefinition (MonoEvent evt)
                {
                        MethodInfo method = evt.GetAddMethod (true);
                        if (method == null || !method.IsVirtual)