This is an example of roslyn analyzer, that can create diagnostics when there are missing some usings, that are required for using debugging data transformation via lambdas and Linqs in Watch or Immediate windows.
Because Microsoft still haven't added support for post-loading libraries like System.Linq when debugging and therefor it is impossible to use Linq data transformations inside Watch or Immediate windows when debugging.
Please if you have any questions or suggestions, send them to the github repository issues here:
Install-Package DebuggingUsingsInsertor -Version 1.0.5904.40201
dotnet add package DebuggingUsingsInsertor --version 1.0.5904.40201
<PackageReference Include="DebuggingUsingsInsertor" Version="1.0.5904.40201" />
paket add DebuggingUsingsInsertor --version 1.0.5904.40201
Summary of changes made in this release of the package.
This package has no dependencies.
This package is not used by any popular GitHub repositories.