-
Code generation should be placed in a separate library, so the Roslyn Source Generator will use the library to produce code. It can be helpful for such cases as the reverse engineering domain models f…
-
This issue is a grab bag tracking things that were changed to enable us to work on cohosting, but we don't expect to be part of the final delivered solution.
- [x] Remove DocumentVersionCache
- …
-
Currently, you cannot stack Roslyn source generators to operate on generated code. As a workaround I opted into running my own generators in a separate project. That is, `[JsonSerializable(...)] clas…
-
For debug Roslyn Source Code Generators in VS2022 , we have had first
Debugger.Launch
and later
```
true
```
But I cannot figure how to do it in VS2022. What will be the profile ?
…
-
**Describe the bug**
So we heavily use source generation in our projects and we also want to mutation test the generators themselves. Our generators are very complex and part of their logic is correc…
-
Opening an issue here to add support for https://github.com/dotnet/sdk/issues/20355 in the [ResolveNuGetPackageAssets Task](https://github.com/NuGet/NuGet.BuildTasks/blob/1d8af3499f94a32c1d128a42facea…
-
_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/Problem-with-Roslyn-Source-Generators-In/1250704?preview=true)._
---
[severity:It both…
-
Validation is conditioned on `compilerChange` being true here:
https://github.com/dotnet/roslyn/blob/35ac8cb689bebf24cb977121a6539e47789b4351/azure-pipelines.yml#L237-L245
which is run only if t…
-
Looking through all the sample in the repo related to source generators, they all seem to be based on a StringBuilder or similar sting based approach to constructing the generator source code.
I b…
-
### Describe the bug
Running `dotnet format --verify-no-changes` reports a `error IDE0005: Using directive is unnecessary.` false positive when the namespace is from a used class that was generated…