2002-10-22 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Wed, 23 Oct 2002 00:17:33 +0000 (00:17 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 23 Oct 2002 00:17:33 +0000 (00:17 -0000)
commit4d13319167bb7451eef78b21d97ee2ddc1971fc6
tree0724f6cf9063967b86113f18d4d195e345981129
parent41fd8089b6127a4ad7d6dccb2748a78f7d860240
2002-10-22  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (PropertyExpr): Do not use PropertyInfo.CanRead,
CanWrite, because those refer to this particular instance of the
property, and do not take into account the fact that we can
override single members of a property.

Constructor requires an EmitContext.  The resolution process does
not happen here, but we need to compute the accessors before,
because the resolution does not always happen for properties.

* typemanager.cs (RealMemberLookup): Set private_ok if we are a
subclass, before we did not update this flag, but we did update
bindingflags.

(GetAccessors): Drop this routine, as it did not work in the
presence of partially overwritten set/get methods.

Notice that this broke the cs1540 detection, but that will require
more thinking.

svn path=/trunk/mcs/; revision=8485
mcs/mcs/ChangeLog
mcs/mcs/ecore.cs
mcs/mcs/typemanager.cs