StefH/ProxyInterfaceSourceGenerator

Build error on mixed visibility properties

rogeralsing opened this issue · 1 comments

If the proxied type contains properties with mixed visibility, e.g. public getter, protected setter.
The code generation generates invalid code that tries to proxy the setter

public class A 
{
      public string Foo {get; protected set;}. //<- this will generate bad code
}