using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// Indicates how to marshal the data between managed and unmanaged code.
// Token: 0x02000589 RID: 1417
[Token(Token = "0x2000589")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
[StructLayout(0)]
public sealed class MarshalAsAttribute : Attribute
{
// Token: 0x06002B36 RID: 11062 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B36")]
[Address(RVA = "0x237DC90", Offset = "0x237CA90", VA = "0x18237DC90")]
internal MarshalAsAttribute Copy()
{
return null;
}
/// Provides additional information to a custom marshaler.
// Token: 0x04001943 RID: 6467
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001943")]
public string MarshalCookie;
/// Specifies the fully qualified name of a custom marshaler.
// Token: 0x04001944 RID: 6468
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001944")]
[ComVisible(true)]
public string MarshalType;
/// Implements as a type.
// Token: 0x04001945 RID: 6469
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001945")]
[ComVisible(true)]
public Type MarshalTypeRef;
/// Indicates the user-defined element type of the .
// Token: 0x04001946 RID: 6470
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001946")]
public Type SafeArrayUserDefinedSubType;
// Token: 0x04001947 RID: 6471
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001947")]
private UnmanagedType utype;
/// Specifies the element type of the unmanaged or .
// Token: 0x04001948 RID: 6472
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4001948")]
public UnmanagedType ArraySubType;
/// Indicates the element type of the .
// Token: 0x04001949 RID: 6473
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001949")]
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: 0x0400194A RID: 6474
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x400194A")]
public int SizeConst;
/// Specifies the parameter index of the unmanaged attribute used by COM.
// Token: 0x0400194B RID: 6475
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400194B")]
public int IidParameterIndex;
/// Indicates the zero-based parameter that contains the count of array elements, similar to in COM.
// Token: 0x0400194C RID: 6476
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x400194C")]
public short SizeParamIndex;
}
}