summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/ContextStaticAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/ContextStaticAttribute.cs')
-rw-r--r--src/mscorlib/src/System/ContextStaticAttribute.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/ContextStaticAttribute.cs b/src/mscorlib/src/System/ContextStaticAttribute.cs
new file mode 100644
index 0000000000..91d7f6948d
--- /dev/null
+++ b/src/mscorlib/src/System/ContextStaticAttribute.cs
@@ -0,0 +1,31 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+/*============================================================
+**
+**
+**
+**
+** Purpose: Custom attribute to indicate that the field should be treated
+** as a static relative to a context.
+**
+**
+**
+===========================================================*/
+namespace System {
+
+ using System;
+ using System.Runtime.Remoting;
+[Serializable]
+ [AttributeUsage(AttributeTargets.Field, Inherited = false)]
+ [System.Runtime.InteropServices.ComVisible(true)]
+#if FEATURE_CORECLR
+ [Obsolete("ContextStaticAttribute is not supported in this release. It has been left in so that legacy tools can be used with this release, but it cannot be used in your code.", true)]
+#endif // FEATURE_CORECLR
+ public class ContextStaticAttribute : Attribute
+ {
+ public ContextStaticAttribute()
+ {
+ }
+ }
+}