mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Field, Inherited=false) System.Runtime.InteropServices.ComVisible(true)

A static field marked with is not shared between threads. Each executing thread has a separate instance of the field, and independently sets and gets values for that field. If the field is accessed on a different thread, it will contain a different value.

Note that in addition to applying the attribute to a field, you must also define it as a static field (in C#) or a Shared field (in Visual Basic).

Do not specify initial values for fields marked with ThreadStaticAttribute, because such initialization occurs only once, when the class constructor executes, and therefore affects only one thread. If you do not specify an initial value, you can rely on the field being initialized to its default value if it is a value type, or to null if it is a reference type.

Use this attribute as it is, and do not derive from it.

For more information about using attributes, see [<topic://cpconExtendingMetadataUsingAttributes>].

Indicates that the value of a static field is unique for each thread.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Initializes a new instance of the class.