Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feature: Add Roslyn Analyzer for Fody plugin #2199
What kind of change does this PR introduce?
Feature. This adds a new Roslyn code analyzer that ensures that the [Reactive] attribute is added only to classes that implement IReactiveObject.
Unfortunately, I do not have the expertise to wrap this up in a nuget package
What is the current behavior?
When a user tries to add the [Reactive] attribute to a property on a class that does not implement IReactiveObject, the weaving silently fails.
What is the new behavior?
When a user tries to add the [Reactive] attribute to a property on a class that does not implement IReactiveObject, the IDE should give a compile time error.
What might this PR break?
Please check if the PR fulfills these requirements