[corlib] Type from reference sources
[mono.git] / mcs / class / corlib / System.Reflection / MonoProperty.cs
index 162ee87d1e64a86509c869f0f94b207ec17cc6dc..c399b7a55d3b730064473017af48fed95e18d2c5 100644 (file)
@@ -73,9 +73,18 @@ namespace System.Reflection {
        internal delegate object GetterAdapter (object _this);
        internal delegate R Getter<T,R> (T _this);
 
+       abstract class RuntimePropertyInfo : PropertyInfo
+       {
+               internal BindingFlags BindingFlags {
+                       get {
+                               return 0;
+                       }
+               }
+       }
+
        [Serializable]
        [StructLayout (LayoutKind.Sequential)]
-       internal class MonoProperty : PropertyInfo, ISerializable {
+       internal class MonoProperty : RuntimePropertyInfo, ISerializable {
 #pragma warning disable 649
                internal IntPtr klass;
                internal IntPtr prop;