using System;
namespace System.Runtime.InteropServices
{
/// Specifies whether the type should be marshaled using the Automation marshaler or a custom proxy and stub.
// Token: 0x020002EF RID: 751
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
public sealed class AutomationProxyAttribute : Attribute
{
/// Initializes a new instance of the class.
/// true if the class should be marshaled using the Automation Marshaler; false if a proxy stub marshaler should be used.
// Token: 0x060021BC RID: 8636 RVA: 0x00078FCC File Offset: 0x000771CC
public AutomationProxyAttribute(bool val)
{
this.val = val;
}
/// Gets a value indicating the type of marshaler to use.
/// true if the class should be marshaled using the Automation Marshaler; false if a proxy stub marshaler should be used.
// Token: 0x17000639 RID: 1593
// (get) Token: 0x060021BD RID: 8637 RVA: 0x00078FDC File Offset: 0x000771DC
public bool Value
{
get
{
return this.val;
}
}
// Token: 0x04000CBE RID: 3262
private bool val;
}
}