PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​Type­AdaptersType­AdapterIs­Any­Instance­Immutable
Open sandboxFocus

TypeAdapter.IsAnyInstanceImmutable Property

IsAnyInstanceImmutable

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

Declaration
public virtual bool IsAnyInstanceImmutable { get; }
Property Value
Type Description
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.