Ferrous API Reference

All Types / Ferrous

class ClosedAttribute

public sealed class ClosedAttribute : Attribute

Marks an abstract class or record hierarchy as closed so switch expressions and statements must exhaustively handle all derived types in the compilation (enforced by Ferrous.Pedantic FE0400).