* XamlType.cs : sort of reverted AllowedContentTypes.
msdn explanation is so wrong.
svn path=/trunk/mcs/; revision=155541
+2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XamlType.cs : sort of reverted AllowedContentTypes.
+ msdn explanation is so wrong.
+
2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
* XamlSchemaContext.cs : implement GetXamlDirective().
protected virtual IList<XamlType> LookupAllowedContentTypes ()
{
+ // the actual implementation is very different from what is documented :(
+ return null;
+
+ /*
var l = new List<XamlType> ();
if (ContentWrappers != null)
l.AddRange (ContentWrappers);
if (ItemType != null)
l.Add (ItemType);
return l.Count > 0 ? l : null;
+ */
}
protected virtual XamlMember LookupAttachableMember (string name)