Closed sharwell closed 1 year ago
The following code does not use the new IIncrementalGenerator API, which leads to severe performance overhead when attempting to enable the source generator in IDE scenarios.
IIncrementalGenerator
https://github.com/dotnet-campus/dotnetCampus.Ipc/blob/d8b94a050a138b274b287b5e7e76409ac2dfb88b/src/dotnetCampus.Ipc.Analyzers/SourceGenerators/IpcShapeGenerator.cs#L75-L84
🔗 This issue was originally reported here: https://developercommunity.visualstudio.com/t/Visual-Studio-hangs-and-can-not-cancal-t/10047643
@sharwell Thank you and we will fix it
Related documents:
The following code does not use the new
IIncrementalGenerator
API, which leads to severe performance overhead when attempting to enable the source generator in IDE scenarios.https://github.com/dotnet-campus/dotnetCampus.Ipc/blob/d8b94a050a138b274b287b5e7e76409ac2dfb88b/src/dotnetCampus.Ipc.Analyzers/SourceGenerators/IpcShapeGenerator.cs#L75-L84
🔗 This issue was originally reported here: https://developercommunity.visualstudio.com/t/Visual-Studio-hangs-and-can-not-cancal-t/10047643