Files
2026-06-04 11:42:34 +02:00

36 lines
1.2 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
/// <summary>Specifies the name of the property that accesses the attributed field.</summary>
// Token: 0x0200028D RID: 653
[AttributeUsage(AttributeTargets.Field)]
[ComVisible(true)]
public sealed class AccessedThroughPropertyAttribute : Attribute
{
/// <summary>Initializes a new instance of the AccessedThroughPropertyAttribute class with the name of the property used to access the attributed field.</summary>
/// <param name="propertyName">The name of the property used to access the attributed field. </param>
// Token: 0x060020DB RID: 8411 RVA: 0x00078B44 File Offset: 0x00076D44
public AccessedThroughPropertyAttribute(string propertyName)
{
this.name = propertyName;
}
/// <summary>Gets the name of the property used to access the attributed field.</summary>
/// <returns>The name of the property used to access the attributed field.</returns>
// 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;
}
}