Skip to content

TestMethod in a struct doesn't trigger analyzer warning #5621

@Youssef1313

Description

@Youssef1313

Describe the bug

public struct TestClass1
{
    [TestMethod]
    public void TestMethod1()
    {
    }
}

This snippet should produce a warning.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions