csharp
public sealed class HotPathAttributeDeclares that a member runs inside the frame loop and must not allocate. It is a contract for the allocation analyzer and for whoever edits the method next, not a hint to the JIT.
No guide page documents this yet — the page shows what the code says about itself.
As a annotation
- Valid on
- Class, Struct, Constructor, Method, Property