| 12345678910111213141516171819202122232425 |
- //
- // System.Runtime.CompilerServices.AccessedThroughPropertyAttribute.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // (C) Copyright, Ximian Inc.
- using System;
- namespace System.Runtime.CompilerServices {
- [AttributeUsage (AttributeTargets.Field)]
- public sealed class AccessedThroughPropertyAttribute : Attribute
- {
- string name;
- public AccessedThroughPropertyAttribute (string propertyName)
- {
- name = propertyName;
- }
- public string PropertyName {
- get { return name; }
- }
- }
- }
|