Skip to content

Source generator fails to generate with file scoped namespaces #883

@virzak

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

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