File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ public override bool VisitMethodDecl(Method method)
59
59
}
60
60
61
61
Class @class = ( Class ) method . Namespace ;
62
- bool needSubclass = method . Access == AccessSpecifier . Protected ||
63
- @class . IsAbstract ;
62
+ bool needSubclass = ( method . Access == AccessSpecifier . Protected ||
63
+ @class . IsAbstract ) && ( method . IsConstructor || method . IsDestructor ) ;
64
64
string wrapper = GetWrapper ( method ) ;
65
65
int i = 0 ;
66
66
foreach ( var param in method . Parameters . Where (
Original file line number Diff line number Diff line change @@ -1376,6 +1376,7 @@ class DLL_API SimpleInterface
1376
1376
virtual int size () const = 0;
1377
1377
virtual int capacity () const = 0;
1378
1378
virtual void * get (int n) = 0;
1379
+ void hasParameterOnEmtptyCtor (int i) {}
1379
1380
};
1380
1381
1381
1382
class DLL_API InterfaceTester
You can’t perform that action at this time.
0 commit comments