[runtime] Fix corlib out of date error with disabled COM
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / DefaultTypeArgumentAttribute.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Presentation
6 {
7     using System.Runtime;
8     using System.Diagnostics.CodeAnalysis;
9
10     [Fx.Tag.XamlVisible(false)]
11     [AttributeUsage(AttributeTargets.Class)]
12     public sealed class DefaultTypeArgumentAttribute : Attribute
13     {
14         Type type;
15
16         public DefaultTypeArgumentAttribute(Type type)
17         {
18             this.type = type;
19         }
20
21         [SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Justification = "By design.")]
22         public Type Type
23         {
24             get
25             {
26                 return this.type;
27             }
28         }
29     }
30 }