PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace/Type­Adapter Class/Type­Adapter Properties/Type­Adapter.​Is­Any­Instance­Immutable Property

TypeAdapter.IsAnyInstanceImmutable Property

Determines whether any instance of this type or of any derived class is immutable.

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

Property Value

Type: Boolean
Remarks

If the type is immutable but can have non-immutable instances of a derived type, the IsImmutable property shall be true but the IsAnyInstanceImmutable property shall be true.

See Also