Alexander Shvedov
Alexander Shvedov
1. Need to check local function usages to make sure it's not converted to delegate. 2. Make sure display class is not shared with ordinary closures like lambda expressions.
note for myself: Roslyn also emits copying of value type when invoking instance member over immutable variable ('foreach' variable, 'from' range variable, 'let' query clause, 'using' variable).
Partially fixed, boxing is not reported now. Will report implicit .ToString() invocation
Both allocations are now reported:   Boxing is eliminated, but implicit `.ToString()` call still allocates a new string (at least for BCL's numeric types)
Both cases should be correct now, thanks for reporting.  
`ValueTask` awaits usually do not allocates... Do we care about allocations in async code at all?
Can you please clarify? Do you want allocations analyzer to be intra-procedural or something?
`Swap` is really overloaded to solve the issue of heap allocations:  The inspection is correct when applied to this `Atom` API.
В планах (#33), но скорее всего только в double completion (потому что будет слишком часто доступна, практически всегда).