From 2e100c5e48b28bb08bd1f59581b87d62b776eab4 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Wed, 17 Nov 2010 15:50:18 +0900 Subject: Made a couple of PositionalParameter related fixes, disabling test, etc. --- mcs/class/System.Xaml/System.Windows.Markup/ValueSerializer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mcs/class/System.Xaml/System.Windows.Markup') diff --git a/mcs/class/System.Xaml/System.Windows.Markup/ValueSerializer.cs b/mcs/class/System.Xaml/System.Windows.Markup/ValueSerializer.cs index d3a001de3d2..b625bb98444 100644 --- a/mcs/class/System.Xaml/System.Windows.Markup/ValueSerializer.cs +++ b/mcs/class/System.Xaml/System.Windows.Markup/ValueSerializer.cs @@ -56,8 +56,8 @@ namespace System.Windows.Markup if (context != null) throw new NotImplementedException (); - // MarkupExtension is serialized without ValueSerializer. - if (typeof (MarkupExtension).IsAssignableFrom (type)) + // Standard MarkupExtensions are serialized without ValueSerializer. + if (typeof (MarkupExtension).IsAssignableFrom (type) && XamlLanguage.AllTypes.Any (x => x.UnderlyingType == type)) return null; var tc = TypeDescriptor.GetConverter (type); -- cgit v1.2.3