Ferrous API Reference

All Types / Ferrous

class ThreadConfinedAttribute

public sealed class ThreadConfinedAttribute : Attribute

Marks a type as thread-confined (!Send): instances must not be captured across thread boundaries such as Task.Run, Parallel.ForEach, or ThreadPool.QueueUserWorkItem (enforced by Ferrous.Concurrency.Analyzers FE0500).