Code inspection: NUnit. Ignored parameter attribute.
This inspection reports parameter data attributes that NUnit will ignore because another parameter data source has already been specified for the same parameter. For example, combining [Values], [Range], or [Random] on one parameter can leave one of them unused.
Removing the ignored attribute makes it clear which data source NUnit will actually use.
Example
[Test]
[Sequential]
public void Test(
[Values(1, 2, 3)] [Random(100, 200, 5)] int x)
{
}
[Test]
[Sequential]
public void Test(
[Values(1, 2, 3)] int x)
{
}
31 March 2026