Open sandboxFocus

Enum ImmutabilityKind

Namespace: Metalama.Patterns.Immutability
Assembly: Metalama.Patterns.Immutability.dll
Syntax
[RunTimeOrCompileTime]
public enum ImmutabilityKind

Fields

Name Description
Deep

The type and all values assigned to its fields and properties are deeply immutable.

None

The type is mutable.

Shallow

The type itself is immutable, but some of its fields or properties may contain mutable objects.