Version Used: 17.2-Preview1
Steps to Reproduce:
- Create a Blazor project
- Open Index.Razor
- Replace its content with
@using System.Text.RegularExpressions
@code {
[RegexGenerator("[0-9]")] private static partial Regex someRegex();
}
- Build the project
Expected Behavior:
No compile error
Actual Behavior:
Compile error:

Additional Notes:
I'm assuming this is due to SourceGenerators not being able to reliable consume outputs from other SourceGenerators
Version Used: 17.2-Preview1
Steps to Reproduce:
Expected Behavior:
No compile error
Actual Behavior:

Compile error:
Additional Notes:
I'm assuming this is due to SourceGenerators not being able to reliable consume outputs from other SourceGenerators