ThreadStaticAttribute.cs 683 B

12345678910111213141516171819202122232425
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. /*============================================================
  5. **
  6. **
  7. **
  8. ** Purpose: Custom attribute to indicate that the field should be treated
  9. ** as a static relative to a thread.
  10. **
  11. **
  12. **
  13. ===========================================================*/
  14. namespace System
  15. {
  16. [AttributeUsage(AttributeTargets.Field, Inherited = false)]
  17. public class ThreadStaticAttribute : Attribute
  18. {
  19. public ThreadStaticAttribute()
  20. {
  21. }
  22. }
  23. }