attribute [sealed]

Experimental Feature

The feature described in this page is marked as experimental, and may be subject to change in future releases. Users are advised that any code that depend on this feature may not be compilable by future versions of the compiler.

Description

Mark a type as sealed, preventing it from being inherited from or implemented by types defined in other modules.

Signature

[sealed]

See also

[open].