summaryrefslogtreecommitdiff
path: root/src/mscorlib/shared/System/ThreadStaticAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/shared/System/ThreadStaticAttribute.cs')
-rw-r--r--src/mscorlib/shared/System/ThreadStaticAttribute.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/ThreadStaticAttribute.cs b/src/mscorlib/shared/System/ThreadStaticAttribute.cs
new file mode 100644
index 0000000000..3755e65a7b
--- /dev/null
+++ b/src/mscorlib/shared/System/ThreadStaticAttribute.cs
@@ -0,0 +1,28 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*============================================================
+**
+**
+**
+** Purpose: Custom attribute to indicate that the field should be treated
+** as a static relative to a thread.
+**
+**
+**
+===========================================================*/
+
+using System;
+
+namespace System
+{
+ [Serializable]
+ [AttributeUsage(AttributeTargets.Field, Inherited = false)]
+ public class ThreadStaticAttribute : Attribute
+ {
+ public ThreadStaticAttribute()
+ {
+ }
+ }
+}