2 // System.Runtime.InteropServices.DllImportAttribute.cs
5 // Paolo Molaro (lupus@ximian.com)
7 // (C) 2001 Ximian, Inc. http://www.ximian.com
13 namespace System.Runtime.InteropServices {
15 [AttributeUsage (AttributeTargets.Method, Inherited=false)]
16 public sealed class DllImportAttribute: Attribute {
17 public CallingConvention CallingConvention;
18 public CharSet CharSet;
19 public string EntryPoint;
20 public bool ExactSpelling;
21 public bool PreserveSig;
22 public bool SetLastError;
26 public bool BestFitMapping;
27 public bool ThrowOnUnmappableChar;
37 public DllImportAttribute (string dllName) {