Ferrous API Reference

All Types / Ferrous

class BorrowAttribute

public sealed class BorrowAttribute : Attribute

Marks a parameter as taking a shared (read-only) borrow of the passed argument. Enforced by Ferrous.Ownership (FE0202 exclusivity and FE0203 escape checks).