GetAllMSeveral fixes regarding property readability and writability.
commitc90699d04721ea901973f860253bfa52b3d339de
authorAtsushi Eno <atsushi@ximian.com>
Fri, 29 Oct 2010 07:50:19 +0000 (29 16:50 +0900)
committerAtsushi Eno <atsushi@ximian.com>
Fri, 29 Oct 2010 07:50:19 +0000 (29 16:50 +0900)
tree19ac4e532b8b197720991cfe59e3aa344a4484be
parent4e7462b7a32846f6d451362f9fa269d182f9406c
GetAllMSeveral fixes regarding property readability and writability.

XamlMember.IsReadOnly returns false if there is private get accessor.
This is used to filter nonpublic accessors out, so replaced its usage with
!IsWritePublic to check truly read-only members.

This fix also required some changes in markup types (as IsReadOnly value now
differs).
mcs/class/System.Xaml/System.Windows.Markup/ArrayExtension.cs
mcs/class/System.Xaml/System.Windows.Markup/PropertyDefinition.cs
mcs/class/System.Xaml/System.Xaml/TypeExtensionMethods.cs
mcs/class/System.Xaml/System.Xaml/XamlMember.cs
mcs/class/System.Xaml/System.Xaml/XamlNode.cs
mcs/class/System.Xaml/System.Xaml/XamlType.cs
mcs/class/System.Xaml/Test/System.Xaml/TestedTypes.cs
mcs/class/System.Xaml/Test/System.Xaml/XamlTypeTest.cs