Skip to content

[RelayCommand] does not work with partial methods #632

@Sergio0694

Description

@Sergio0694

Describe the bug

Using [RelayCommand] with partial methods incorrectly marks them as being overloads, and emits an error.

Regression

No.

Steps to reproduce

[RelayCommand]
private partial void Foo();

private partial void Foo()
{
}

private partial void Bar();

[RelayCommand]
private partial void Bar()
{
}

Expected behavior

The code should compile just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛An unexpected issue that highlights incorrect behaviormvvm-toolkit 🧰Issues/PRs for the MVVM Toolkit

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions