Test methods cannot have overloads
This rule is triggered when you have more than one method with the same name, and at least one of them is marked as a test method.
xUnit.net does not support method overloads for test methods. Any test method must have a unique name in the test class.
To fix a violation of this rule, you may:
using Xunit;
public class xUnit1024
{
[Fact]
public void TestMethod() { }
void TestMethod(int age) { }
}
using Xunit;
public class xUnit1024
{
[Fact]
public void TestMethod() { }
public void NonTestMethod(int age) { }
}
using Xunit;
public class xUnit1024
{
[Fact]
public void TestMethod() { }
}