Only generate setters and getters for public properties (#47)
* Only generate setters and getters for public properties * .
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
namespace ProxyInterfaceSourceGeneratorTests.Source;
|
||||
|
||||
public partial interface IMixedVisibility
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace ProxyInterfaceSourceGeneratorTests.Source;
|
||||
|
||||
public class MixedVisibility
|
||||
{
|
||||
public string Foo { get; protected set; } //<- this will generate bad code
|
||||
}
|
||||
Reference in New Issue
Block a user