-
I'm trying to get Source Generators to work, and first followed the samples provided in [this](https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/) article, which simply didn't work…
-
#### Bug description
There is a namespace lets say "Foo" that contains a public struct type "Bar". This namespace and type is external (in a package) so I write custom formatters and resolvers for …
-
Currently the syntax generator produces a static constructor for each green node (internal) type. e.g.
https://raw.githubusercontent.com/dotnet/roslyn/main/src/Compilers/CSharp/Portable/Generated/C…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
SignalR client proxy code isn't generated when using the extension method with auto-inf…
-
Let's say that my analyzer or source generator depends on the `GraphQL` NuGet:
```xml
```
This will fail, because MSBuild won't automatically include GraphQL's DLL's, so I need to do th…
-
I am trying to test manually if the diagnostics emitted by a source generators are correct.
To to do so I've added a reference to the source generator project with:
`
`
After rebuilding th…
-
The current approach to test source generators by providing the expected generated code upfront is not very convenient, since the generated sources can be very large, making the test unreadable.
It…
-
As you know, this is to improve performance
```cs
[SelectQuery( @"
select a.column_1 as col1, a.column_2 as col2
from table_a as a
left join table_b as b on a.id = b.table_a_id
where b.table_a…
-
Hi,
I hope this is the right repository to report the this issue.
I'm doing some test with code generator for a new project, I'm following the samples here:
https://github.com/dotnet/roslyn-s…
ghost updated
2 years ago
-
### Discussed in https://github.com/dotnet/roslyn/discussions/58345
Originally posted by **Herrmel** December 15, 2021
Currently the AnalyzerTestFramework (Microsoft.CodeAnalysis.CSharp.Analyz…