Implement StringToCoTaskMem{Ansi,Uni} (bug 58102).
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / AutomationProxyAttribute.cs
1 //
2 // System.Runtime.InteropServices.AutomationProxyAttribute.cs
3 //
4 // Name: Duncan Mak  (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc.
7 //
8
9 using System;
10
11 namespace System.Runtime.InteropServices {
12
13         [AttributeUsage (AttributeTargets.Assembly | AttributeTargets.Class |
14                          AttributeTargets.Interface)]
15         public sealed class AutomationProxyAttribute : Attribute
16         {
17                 bool val;
18                 
19                 public AutomationProxyAttribute (bool val)
20                 {
21                         this.val = val;
22                 }
23
24                 public bool Value {
25                         get { return val; }
26                 }
27         }
28 }