29 lines
1.2 KiB
C#
29 lines
1.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM.</summary>
|
|
// Token: 0x0200058B RID: 1419
|
|
[Token(Token = "0x200058B")]
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Delegate)]
|
|
public sealed class ComVisibleAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see langword="ComVisibleAttribute" /> class.</summary>
|
|
/// <param name="visibility">
|
|
/// <see langword="true" /> to indicate that the type is visible to COM; otherwise, <see langword="false" />. The default is <see langword="true" />.</param>
|
|
// Token: 0x06002CAE RID: 11438 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002CAE")]
|
|
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
|
public ComVisibleAttribute(bool visibility)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400197D RID: 6525
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400197D")]
|
|
internal bool _val;
|
|
}
|
|
}
|