PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace/Type­Adapter Class/Type­Adapter Properties/Type­Adapter.​Is­Immutable Property
TypeAdapter.IsImmutable Property
Determines whether the adapted type is immutable.

Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public virtual bool IsImmutable { 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