You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue with the ReactiveUI.SourceGenerators package (version 2.0.17) in my Avalonia project. After upgrading to this version, I receive the following warning during compilation:
ReactiveCommandGenerator\InnerClass.ReactiveCommands.g.cs(17,175): error CS0103: The name 'Test' does not exist in the current context
Step to reproduce
Create a nested type
Annotate method in nested type with [ReactiveCommand]
lxy-iUnknown
changed the title
[Bug]: Error with Source Generator when using nested classes
[Bug]: Error with Source Generator when using nested types
Nov 15, 2024
Describe the bug 🐞
I'm encountering an issue with the ReactiveUI.SourceGenerators package (version 2.0.17) in my Avalonia project. After upgrading to this version, I receive the following warning during compilation:
Step to reproduce
Reproduction repository
https://github.com/lxy-iUnknown/ReactiveGeneratorSample
Expected behavior
The source generator should handle nested types without causing conflicts or errors.
Screenshots 🖼️
No response
IDE
Visual Studio 2022
Operating system
Windows 11
Version
2.0.17
Device
No response
ReactiveUI Version
No response
Additional information ℹ️
Generated code:
The text was updated successfully, but these errors were encountered: