Skip to content

MONFY03 Incorrectly Raised for Empty Class #22

@MooVC

Description

@MooVC

Describe the bug
The suggestion MONFY03: Type `SimpleForArray` defines fields that capture additional state.

To Reproduce

Define an empty partial class and annotate it with Monify.

namespace Monify.Console.Classes.Simple;

[Monify<int[]>]
public partial class SimpleForArray;

Expected behavior
There should be no suggestion.

Environment (please complete the following information):

  • Monify Version: 1.1.2
  • .NET Version (Your Project): NET 9
  • IDE: Visual Studio 2022 v17.14.16

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions