Skip to content

Source generator fails to generate with file scoped namespaces #883

Description

@virzak

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
{
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions