|
|
@ -91,10 +91,9 @@ namespace Cxxi.Generators.CLI |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (method.Ignore) return true; |
|
|
|
if (method.Ignore) return true; |
|
|
|
|
|
|
|
|
|
|
|
if (@class.IsAbstract && method.IsConstructor) |
|
|
|
bool isEmptyCtor = method.IsConstructor && method.Parameters.Count == 0; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (@class.IsValueType && method.IsDefaultConstructor) |
|
|
|
if (@class.IsValueType && isEmptyCtor) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
if (method.IsCopyConstructor || method.IsMoveConstructor) |
|
|
|
if (method.IsCopyConstructor || method.IsMoveConstructor) |
|
|
|