84 lines
3.1 KiB
C#
84 lines
3.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Indicates how to marshal the data between managed and unmanaged code.</summary>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Provides additional information to a custom marshaler.</summary>
|
|
// Token: 0x04001A06 RID: 6662
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001A06")]
|
|
public string MarshalCookie;
|
|
|
|
/// <summary>Specifies the fully qualified name of a custom marshaler.</summary>
|
|
// Token: 0x04001A07 RID: 6663
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001A07")]
|
|
[ComVisible(true)]
|
|
public string MarshalType;
|
|
|
|
/// <summary>Implements <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> as a type.</summary>
|
|
// Token: 0x04001A08 RID: 6664
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001A08")]
|
|
[ComVisible(true)]
|
|
public Type MarshalTypeRef;
|
|
|
|
/// <summary>Indicates the user-defined element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
|
|
// 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;
|
|
|
|
/// <summary>Specifies the element type of the unmanaged <see cref="F:System.Runtime.InteropServices.UnmanagedType.LPArray" /> or <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValArray" />.</summary>
|
|
// Token: 0x04001A0B RID: 6667
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x4001A0B")]
|
|
public UnmanagedType ArraySubType;
|
|
|
|
/// <summary>Indicates the element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
|
|
// Token: 0x04001A0C RID: 6668
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4001A0C")]
|
|
public VarEnum SafeArraySubType;
|
|
|
|
/// <summary>Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import.</summary>
|
|
// Token: 0x04001A0D RID: 6669
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x4001A0D")]
|
|
public int SizeConst;
|
|
|
|
/// <summary>Specifies the parameter index of the unmanaged <see langword="iid_is" /> attribute used by COM.</summary>
|
|
// Token: 0x04001A0E RID: 6670
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4001A0E")]
|
|
public int IidParameterIndex;
|
|
|
|
/// <summary>Indicates the zero-based parameter that contains the count of array elements, similar to <see langword="size_is" /> in COM.</summary>
|
|
// Token: 0x04001A0F RID: 6671
|
|
[FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x4001A0F")]
|
|
public short SizeParamIndex;
|
|
}
|
|
}
|