This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Description
Attached is a sample solution (including the ActivityLog.xml detailing the crash) which has been created by following to the letter the instructions in:
https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/extensibility/walkthrough-displaying-light-bulb-suggestions.md
When using the obsolete constructor (line 90 in TestSuggestedActionsSource.cs), the extension behaves as expected.
When commenting out line 90 and using the non-obsolete constructor in line 91, the extension will throw an exception and crash VS when invoked via the keyboard shortcut.
LightBulbTest.zip
Although unrelated to this particular issue, you guys might want to include a comment somewhere that, when using nested actions in the 'Quick Actions' menu (i.e., effectively, submenus), the return collection in GetActionSetsAsync must apparently be 'Immutable'. Otherwise, undecipherable crashes take place.