-
**Version Used**: 4.10.0
**Steps to Reproduce**:
1. Create a C# Source Generator
2. Reference `System.Text.Json` and try to deserialize a string in the `Execute` method of a Source Generator
A…
-
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…
-
**Version Used**: 3.3.0
**Steps to Reproduce**:
Add a NuGet package reference to `Microsoft.Net.Compilers` and attempt to build on .NET Core on non-Windows.
[crash-on-compiler-package.zip](ht…
-
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…
-
### Discussed in https://github.com/dotnet/roslyn/discussions/58345
Originally posted by **Herrmel** December 15, 2021
Currently the AnalyzerTestFramework (Microsoft.CodeAnalysis.CSharp.Analyz…
-
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…
-
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…
-
when i use a self made analyzer via project reference, the analyzer wont work as soon as it needs other references and shows FileNotFoundException:
![image](https://user-images.githubusercontent.com/…
-
# Problem Description
When referencing a source generator the syntax highlighting of classes randomly stops working:
![image](https://user-images.githubusercontent.com/33608497/125862337-f42282…
-
### Description
See title. Sometimes when there's an error with an XAML file, Visual Studio is unable to tell me which file/line the problem occurs in.
I never had this issue with Xamarin Forms,…