using System; using Cpp2IlInjected; namespace System.Runtime.InteropServices { /// Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited. // Token: 0x02000584 RID: 1412 [Token(Token = "0x2000584")] [AttributeUsage(AttributeTargets.Delegate)] [ComVisible(true)] public sealed class UnmanagedFunctionPointerAttribute : Attribute { /// Initializes a new instance of the class with the specified calling convention. /// The specified calling convention. // Token: 0x06002CA9 RID: 11433 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002CA9")] [Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")] public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention) { } // Token: 0x0400196B RID: 6507 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400196B")] private CallingConvention m_callingConvention; /// Indicates how to marshal string parameters to the method, and controls name mangling. // Token: 0x0400196C RID: 6508 [FieldOffset(Offset = "0x14")] [Token(Token = "0x400196C")] public CharSet CharSet; /// Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters. // Token: 0x0400196D RID: 6509 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400196D")] public bool BestFitMapping; /// Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character. // Token: 0x0400196E RID: 6510 [FieldOffset(Offset = "0x19")] [Token(Token = "0x400196E")] public bool ThrowOnUnmappableChar; /// Indicates whether the callee calls the Win32 API function before returning from the attributed method. // Token: 0x0400196F RID: 6511 [FieldOffset(Offset = "0x1A")] [Token(Token = "0x400196F")] public bool SetLastError; } }