ThreadStaticAttribute.cs 709 B

123456789101112131415161718192021222324252627
  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. using System;
  15. namespace System
  16. {
  17. [AttributeUsage(AttributeTargets.Field, Inherited = false)]
  18. public class ThreadStaticAttribute : Attribute
  19. {
  20. public ThreadStaticAttribute()
  21. {
  22. }
  23. }
  24. }