add MembersToIgnore

This commit is contained in:
Adam Hathcock
2024-05-21 13:03:43 +01:00
parent 894b5d5049
commit 5568a98e0b
15 changed files with 240 additions and 7 deletions
@@ -0,0 +1,31 @@
namespace ProxyInterfaceSourceGeneratorTests.Source;
public class Foo2
{
//public Bar DoSomethingAndGetABar()
//{
// return new Bar();
//}
//public Bar[] DoSomethingAndGetAnArrayOfBars()
//{
// return new[] { new Bar() };
//}
//public Foo DoSomethingAndGetAFoo()
//{
// return new Foo();
//}
public Foo2[] Foos { get; set; }
public Foo2[] DoSomethingAndGetAnArrayOfFoos()
{
return new[] { new Foo2() };
}
//public List<Foo> DoSomethingAndGetAListOfFoos()
//{
// return new[] { new Foo() }.ToList();
//}
}
@@ -0,0 +1,6 @@
namespace ProxyInterfaceSourceGeneratorTests.Source
{
public partial interface IFoo2
{
}
}