diff options
Diffstat (limited to 'mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs')
-rwxr-xr-x | mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs b/mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs index 6fbd4ff2ab4..83c13d3caa7 100755 --- a/mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs +++ b/mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs @@ -30,6 +30,7 @@ namespace System.Windows.Markup { [MarkupExtensionReturnType (typeof (Type))] [TypeConverter (typeof (TypeExtensionConverter))] + [System.Runtime.CompilerServices.TypeForwardedFrom (Consts.AssemblyPresentationFramework_3_5)] public class TypeExtension : MarkupExtension { public TypeExtension () @@ -50,6 +51,8 @@ namespace System.Windows.Markup Type = type; } + [ConstructorArgument ("type")] + [DefaultValue (null)] public Type Type { get; set; } public string TypeName { get; set; } |