mikegoatly, Random #dotnet question. Can a source generator emit code that another source generator then processes?
This generator generates a [GeneratedRegex] https://gist.github.com/mikegoatly/fe36bc559e01b757c6ccb33d4020c8e9 , but the RegularExpressions generator doesn't pick it up, so compilation fails with the error:
Partial method 'RegexGeneratedClass.CapitalizedWords()' must have an implementation part because it has accessibility modifiers.
My guess is it's a limitation, but I might be doing something wrong!
Add comment