ThreadUnsafeAttribute Class

Custom attribute that, when applied on a type, ensures that only one thread executes in methods of this type.
When more than one thread accesses methods of this type, a ConcurrentAccessException exception is thrown.

Gets or sets the attributes of types to which this attribute applies. Visibility, scope (Instance or Static)
and generation are the only categories that are taken into account; attributes of other categories are ignored.