diff options
Diffstat (limited to 'mcs/class/System.Xaml/System.Windows.Markup/StaticExtension.cs')
-rwxr-xr-x | mcs/class/System.Xaml/System.Windows.Markup/StaticExtension.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/class/System.Xaml/System.Windows.Markup/StaticExtension.cs b/mcs/class/System.Xaml/System.Windows.Markup/StaticExtension.cs index c3478a61141..24df4f5a169 100755 --- a/mcs/class/System.Xaml/System.Windows.Markup/StaticExtension.cs +++ b/mcs/class/System.Xaml/System.Windows.Markup/StaticExtension.cs @@ -30,6 +30,7 @@ namespace System.Windows.Markup { [MarkupExtensionReturnType (typeof (object))] [TypeConverter (typeof (StaticExtensionConverter))] + [System.Runtime.CompilerServices.TypeForwardedFrom (Consts.AssemblyPresentationFramework_3_5)] public class StaticExtension : MarkupExtension { public StaticExtension () @@ -41,7 +42,10 @@ namespace System.Windows.Markup Member = member; } + [ConstructorArgument ("member")] public string Member { get; set; } + + [DefaultValue (null)] public Type MemberType { get; set; } public override object ProvideValue (IServiceProvider serviceProvider) |