Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs')
-rwxr-xr-xmcs/class/System.Xaml/System.Windows.Markup/TypeExtension.cs3
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; }