using System; using Cpp2IlInjected; namespace System.Runtime.InteropServices { /// Indicates how to marshal the data between managed and unmanaged code. // Token: 0x020005A8 RID: 1448 [Token(Token = "0x20005A8")] [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] [ComVisible(true)] [StructLayout(0)] public sealed class MarshalAsAttribute : Attribute { // Token: 0x06002D4A RID: 11594 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002D4A")] [Address(RVA = "0x2CF0EE0", Offset = "0x2CEFEE0", VA = "0x182CF0EE0")] internal MarshalAsAttribute Copy() { return null; } /// Provides additional information to a custom marshaler. // Token: 0x04001A06 RID: 6662 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4001A06")] public string MarshalCookie; /// Specifies the fully qualified name of a custom marshaler. // Token: 0x04001A07 RID: 6663 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4001A07")] [ComVisible(true)] public string MarshalType; /// Implements as a type. // Token: 0x04001A08 RID: 6664 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4001A08")] [ComVisible(true)] public Type MarshalTypeRef; /// Indicates the user-defined element type of the . // Token: 0x04001A09 RID: 6665 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4001A09")] public Type SafeArrayUserDefinedSubType; // Token: 0x04001A0A RID: 6666 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4001A0A")] private UnmanagedType utype; /// Specifies the element type of the unmanaged or . // Token: 0x04001A0B RID: 6667 [FieldOffset(Offset = "0x34")] [Token(Token = "0x4001A0B")] public UnmanagedType ArraySubType; /// Indicates the element type of the . // Token: 0x04001A0C RID: 6668 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4001A0C")] public VarEnum SafeArraySubType; /// Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import. // Token: 0x04001A0D RID: 6669 [FieldOffset(Offset = "0x3C")] [Token(Token = "0x4001A0D")] public int SizeConst; /// Specifies the parameter index of the unmanaged attribute used by COM. // Token: 0x04001A0E RID: 6670 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4001A0E")] public int IidParameterIndex; /// Indicates the zero-based parameter that contains the count of array elements, similar to in COM. // Token: 0x04001A0F RID: 6671 [FieldOffset(Offset = "0x44")] [Token(Token = "0x4001A0F")] public short SizeParamIndex; } }