Files
2026-04-10 22:50:51 +02:00

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: 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;
}
/// <summary>Provides additional information to a custom marshaler.</summary>
// Token: 0x04001943 RID: 6467
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001943")]
public string MarshalCookie;
/// <summary>Specifies the fully qualified name of a custom marshaler.</summary>
// Token: 0x04001944 RID: 6468
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001944")]
[ComVisible(true)]
public string MarshalType;
/// <summary>Implements <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> as a type.</summary>
// Token: 0x04001945 RID: 6469
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001945")]
[ComVisible(true)]
public Type MarshalTypeRef;
/// <summary>Indicates the user-defined element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
// 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;
/// <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: 0x04001948 RID: 6472
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4001948")]
public UnmanagedType ArraySubType;
/// <summary>Indicates the element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
// Token: 0x04001949 RID: 6473
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001949")]
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: 0x0400194A RID: 6474
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x400194A")]
public int SizeConst;
/// <summary>Specifies the parameter index of the unmanaged <see langword="iid_is" /> attribute used by COM.</summary>
// Token: 0x0400194B RID: 6475
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400194B")]
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: 0x0400194C RID: 6476
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x400194C")]
public short SizeParamIndex;
}
}