Some code examples has the members listed twice, like this:
[GenerateInterface(Exclude = new[] { nameof(MyMethod) })]
public class MyClass
{
public string MyProperty { get; set; }
public void MyMethod() { }
public string MyProperty { get; set; }
public void MyMethod() { }
}
Clean up duplicates.