@ -70,7 +70,7 @@ namespace CppSharp.Passes
public override bool VisitMethodDecl(Method method)
{
if (!method.IsConstructor && !method.IsDestructor && !method.IsOperator &&
method.IsGenerated)
method.IsGenerated && !method.IsSynthetized)
DistributeMethod(method);
return base.VisitMethodDecl(method);
}
@ -87,6 +87,9 @@ namespace CppSharp.Passes
if (method.IsConstructor)
return false;
if (method.IsSynthetized)
if (IsGetter(method))
var name = method.Name.Substring("get".Length);