Skip to content

NUnit1001 compains about DateOnly parameters #820

@Dreamescaper

Description

@Dreamescaper
    [TestCase("2024-09-25")]
    [TestCase("2024-09-26")]
    [TestCase("2024-09-27")]
    public async Task TestDateOnly(DateOnly expectedDate)
    {
...
    }

NUnit1001 is triggered here, even though it works perfeclty fine if I disable this analyzer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions