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: 0x02000565 RID: 1381 [Token(Token = "0x2000565")] [ComVisible(true)] [AttributeUsage(AttributeTargets.Delegate)] public sealed class UnmanagedFunctionPointerAttribute : Attribute { /// Initializes a new instance of the class with the specified calling convention. /// The specified calling convention. // Token: 0x06002A95 RID: 10901 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A95")] [Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")] public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention) { } // Token: 0x040018A8 RID: 6312 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40018A8")] private CallingConvention m_callingConvention; /// Indicates how to marshal string parameters to the method, and controls name mangling. // Token: 0x040018A9 RID: 6313 [FieldOffset(Offset = "0x14")] [Token(Token = "0x40018A9")] public CharSet CharSet; /// Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters. // Token: 0x040018AA RID: 6314 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40018AA")] public bool BestFitMapping; /// Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character. // Token: 0x040018AB RID: 6315 [FieldOffset(Offset = "0x19")] [Token(Token = "0x40018AB")] public bool ThrowOnUnmappableChar; /// Indicates whether the callee calls the Win32 API function before returning from the attributed method. // Token: 0x040018AC RID: 6316 [FieldOffset(Offset = "0x1A")] [Token(Token = "0x40018AC")] public bool SetLastError; } }