Ferrous API Reference

All Types / Ferrous

class ImmutableAttribute

public sealed class ImmutableAttribute : Attribute

Marks a parameter, field, or property as deeply immutable (approximating Rust's &T). Property/field setters and mutating collection calls on the annotated symbol or its nested members are flagged by Ferrous.Pedantic (FE0418).