[runtime] Overwrite stacktrace for exception on re-throw. Fixes #1856.
[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 using System;
9 using System.Runtime.Serialization;
10
11 namespace System.Runtime.InteropServices
12 {
13         [AttributeUsage (AttributeTargets.Module, Inherited = false)]
14         [ComVisible (true)]
15         public sealed class DefaultCharSetAttribute : Attribute
16         {
17                 CharSet _set;
18
19                 public DefaultCharSetAttribute (CharSet charSet)
20                 {
21                         _set = charSet;
22                 }
23
24                 public CharSet CharSet { get { return _set; } }
25         }
26 }