using System; using System.Reflection; using Cpp2IlInjected; namespace System.Runtime.InteropServices { /// Indicates that the attributed method is exposed by an unmanaged dynamic-link library (DLL) as a static entry point. // Token: 0x02000596 RID: 1430 [Token(Token = "0x2000596")] [AttributeUsage(AttributeTargets.Method)] [ComVisible(true)] public sealed class DllImportAttribute : Attribute { // Token: 0x06002CB7 RID: 11447 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002CB7")] [Address(RVA = "0x2CED790", Offset = "0x2CEC790", VA = "0x182CED790")] internal static Attribute GetCustomAttribute(RuntimeMethodInfo method) { return null; } // Token: 0x06002CB8 RID: 11448 RVA: 0x00018DF8 File Offset: 0x00016FF8 [Token(Token = "0x6002CB8")] [Address(RVA = "0x2CEDA40", Offset = "0x2CECA40", VA = "0x182CEDA40")] internal static bool IsDefined(RuntimeMethodInfo method) { return default(bool); } // Token: 0x06002CB9 RID: 11449 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002CB9")] [Address(RVA = "0x2CEDA70", Offset = "0x2CECA70", VA = "0x182CEDA70")] internal DllImportAttribute(string dllName, string entryPoint, CharSet charSet, bool exactSpelling, bool setLastError, bool preserveSig, CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar) { } /// Initializes a new instance of the class with the name of the DLL containing the method to import. /// The name of the DLL that contains the unmanaged method. This can include an assembly display name, if the DLL is included in an assembly. // Token: 0x06002CBA RID: 11450 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002CBA")] [Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")] public DllImportAttribute(string dllName) { } /// Gets the name of the DLL file that contains the entry point. /// The name of the DLL file that contains the entry point. // Token: 0x170006C8 RID: 1736 // (get) Token: 0x06002CBB RID: 11451 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170006C8")] public string Value { [Token(Token = "0x6002CBB")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } // Token: 0x040019DC RID: 6620 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40019DC")] internal string _val; /// Indicates the name or ordinal of the DLL entry point to be called. // Token: 0x040019DD RID: 6621 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40019DD")] public string EntryPoint; /// Indicates how to marshal string parameters to the method and controls name mangling. // Token: 0x040019DE RID: 6622 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40019DE")] public CharSet CharSet; /// Indicates whether the callee calls the Win32 API function before returning from the attributed method. // Token: 0x040019DF RID: 6623 [FieldOffset(Offset = "0x24")] [Token(Token = "0x40019DF")] public bool SetLastError; /// Controls whether the field causes the common language runtime to search an unmanaged DLL for entry-point names other than the one specified. // Token: 0x040019E0 RID: 6624 [FieldOffset(Offset = "0x25")] [Token(Token = "0x40019E0")] public bool ExactSpelling; /// Indicates whether unmanaged methods that have or return values are directly translated or whether or return values are automatically converted to exceptions. // Token: 0x040019E1 RID: 6625 [FieldOffset(Offset = "0x26")] [Token(Token = "0x40019E1")] public bool PreserveSig; /// Indicates the calling convention of an entry point. // Token: 0x040019E2 RID: 6626 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40019E2")] public CallingConvention CallingConvention; /// Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters. // Token: 0x040019E3 RID: 6627 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x40019E3")] public bool BestFitMapping; /// Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character. // Token: 0x040019E4 RID: 6628 [FieldOffset(Offset = "0x2D")] [Token(Token = "0x40019E4")] public bool ThrowOnUnmappableChar; } }