PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace/Type­Adapter Class/Type­Adapter Properties/Type­Adapter.​Is­Any­Instance­Thread­Safe Property

TypeAdapter.IsAnyInstanceThreadSafe Property

Determines whether any instance of this type or of any derived class can be safely shared by several threads.

Namespace:  PostSharp.Patterns.Model.TypeAdapters
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public virtual bool IsAnyInstanceThreadSafe { get; }

Property Value

Type: Boolean
Remarks

If the type is thread-safe but can have non-immutable instances of a derived type, the IsThreadSafe property shall be true but the IsAnyInstanceThreadSafe property shall be true.

See Also