2008-12-08 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / DefaultCharSetAttribute.cs
1 //
2 // System.Runtime.InteropServices.DefaultCharSetAttribute
3 //
4 // Author:
5 //   Kazuki Oikawa  (kazuki@panicode.com)
6 //
7
8 #if NET_2_0
9
10 using System;
11 using System.Runtime.Serialization;
12
13 namespace System.Runtime.InteropServices
14 {
15         [AttributeUsage (AttributeTargets.Module, Inherited = false)]
16         [ComVisible (true)]
17         public sealed class DefaultCharSetAttribute : Attribute
18         {
19                 CharSet _set;
20
21                 public DefaultCharSetAttribute (CharSet charSet)
22                 {
23                         _set = charSet;
24                 }
25
26                 public CharSet CharSet { get { return _set; } }
27         }
28 }
29 #endif