resharper-heapview icon indicating copy to clipboard operation
resharper-heapview copied to clipboard

C# 7.0: Locally-invoked local function do not allocates

Open controlflow opened this issue 9 years ago • 1 comments

It would be cool to get insight on this from R# 2016.3 usage analyzer, since we need this 'locally invoked' knowledge for some features over local var

controlflow avatar Aug 26 '16 20:08 controlflow

  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.

controlflow avatar Mar 22 '17 19:03 controlflow

Implemented

controlflow avatar Jan 01 '23 12:01 controlflow