Avalonia
Avalonia copied to clipboard
PR for debugging of issue #14370 (1 of 2)
What does the pull request do?
This PR provides an easy way to debug our issue #14370. When the Avalonia.Generators project in the Tools folder runs the DebugRoslynComponent command provided, this code will throw the exception shown in issue #14370. We have also provided a fix, but the code is in one of the git submodules. This is the first PR in a set of two.
https://github.com/AvaloniaUI/Avalonia/issues/14370
What is the current behavior?
The Source Generator throws an exception.
What is the updated/expected behavior with this PR?
The Source Generator would generate code and normally exit.