using System;
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
/// Specifies the name of the property that accesses the attributed field.
// Token: 0x0200028D RID: 653
[AttributeUsage(AttributeTargets.Field)]
[ComVisible(true)]
public sealed class AccessedThroughPropertyAttribute : Attribute
{
/// Initializes a new instance of the AccessedThroughPropertyAttribute class with the name of the property used to access the attributed field.
/// The name of the property used to access the attributed field.
// Token: 0x060020DB RID: 8411 RVA: 0x00078B44 File Offset: 0x00076D44
public AccessedThroughPropertyAttribute(string propertyName)
{
this.name = propertyName;
}
/// Gets the name of the property used to access the attributed field.
/// The name of the property used to access the attributed field.
// Token: 0x17000629 RID: 1577
// (get) Token: 0x060020DC RID: 8412 RVA: 0x00078B54 File Offset: 0x00076D54
public string PropertyName
{
get
{
return this.name;
}
}
// Token: 0x04000BC1 RID: 3009
private string name;
}
}