Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/InteropServices/ComVisibleAttribute.cs
T
2026-04-10 22:50:51 +02:00

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: 0x0200056C RID: 1388
[Token(Token = "0x200056C")]
[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: 0x06002A9A RID: 10906 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A9A")]
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
public ComVisibleAttribute(bool visibility)
{
}
// Token: 0x040018BA RID: 6330
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018BA")]
internal bool _val;
}
}