Fody/PropertyChanged

Source generator fails to generate with file scoped namespaces

virzak opened this issue · 4 comments

Describe the issue

Just as the title says, nothing gets generated when file scoped namespace is used. namespace MyNamespace { } works fine.

Minimal Repro

namespace MyNamespace;

[AddINotifyPropertyChangedInterface]
public partial class MyClass
{
}

Uh oh. Thanks for the reports, we'll take a look.

Is it possible to release this?

I was waiting to ship #882 as well, but sure, I've released v4.0.2 with this fix in the meantime.

Great, thanks!