roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Code Lens doesn't show references on Source Generated files

Open vsfeedback opened this issue 1 year ago • 0 comments

This issue has been moved from a ticket on Developer Community.


Hello, I'm trying to create a source generator using the recommended IIncrementalGenerator API. The project builds normally and I'm able to set debug breakpoints. However, CodeLens shows "- references" on the methods that are source generated or are referenced by them. "Find all references" and Shift+F12 works normally. I'd like to see the references both in hand-written and source generated code. Minimal repro: https://github.com/lukedays/CodeLensSourceGenError Thanks in advance.


Original Comments

Feedback Bot on 6/13/2024, 08:12 PM:

(private comment, text removed)

Feedback Bot on 6/17/2024, 03:01 PM:

(private comment, text removed)


Original Solutions

(no solutions)

vsfeedback avatar Jun 21 '24 16:06 vsfeedback