[runtime] Fix corlib out of date error with disabled COM
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / Microsoft.Tools.Common / Microsoft / Activities / Presentation / Xaml / XamlTypeWithExplicitNamespace.cs
1 // <copyright>
2 //   Copyright (c) Microsoft Corporation.  All rights reserved.
3 // </copyright>
4
5 namespace Microsoft.Activities.Presentation.Xaml
6 {
7     using System.Collections.Generic;
8     using System.Xaml;
9
10     class XamlTypeWithExplicitNamespace : XamlType
11     {
12         List<string> explicitNamespaces;
13
14         public XamlTypeWithExplicitNamespace(XamlType wrapped, IEnumerable<string> explicitNamespaces) :
15             base(wrapped.UnderlyingType, wrapped.SchemaContext)
16         {
17             this.explicitNamespaces = new List<string>(explicitNamespaces);
18         }
19
20         public override IList<string> GetXamlNamespaces()
21         {
22             return this.explicitNamespaces;
23         }
24     }
25 }