|
|
|
@ -12,8 +12,10 @@ namespace CppSharp.Passes
@@ -12,8 +12,10 @@ namespace CppSharp.Passes
|
|
|
|
|
{ |
|
|
|
|
public override bool VisitMethodDecl(Method method) |
|
|
|
|
{ |
|
|
|
|
if (AlreadyVisited(method) || !method.IsGenerated || !method.IsConstructor || |
|
|
|
|
method.IsCopyConstructor) |
|
|
|
|
if (AlreadyVisited(method) || !method.IsGenerated || !method.IsConstructor |
|
|
|
|
|| method.IsCopyConstructor |
|
|
|
|
// conversion operators can only be public
|
|
|
|
|
|| method.Access != AccessSpecifier.Public) |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
var @params = method.Parameters.Where(p => p.Kind == ParameterKind.Regular).ToList(); |
|
|
|
|