Ferrous API Reference

All Types / Ferrous

class ConsumingAttribute

public sealed class ConsumingAttribute : Attribute

Marks a parameter as consuming ownership of the passed argument. Once a local variable is passed to a ConsumingAttribute parameter, subsequent reads or mutations of that variable are flagged by Ferrous.Ownership.