Merge pull request #2977 from BrzVlad/fix-major-log2
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Xaml / ShimAsPublicXamlType.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Presentation.Xaml
6 {
7     using System.Xaml;
8
9     // Class that takes a non-public type and acts as if it were public.
10     // Allows us to save ErrorActivitys without making that type public.
11     class ShimAsPublicXamlType : XamlType
12     {
13         public ShimAsPublicXamlType(Type type, XamlSchemaContext schemaContext) :
14             base(type, schemaContext)
15         {
16         }
17
18         protected override bool LookupIsPublic()
19         {
20             return true;
21         }
22     }
23 }