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)
5959 }
6060
6161 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 ) ;
6464 string wrapper = GetWrapper ( method ) ;
6565 int i = 0 ;
6666 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
13761376 virtual int size () const = 0;
13771377 virtual int capacity () const = 0;
13781378 virtual void * get (int n) = 0;
1379+ void hasParameterOnEmtptyCtor (int i) {}
13791380};
13801381
13811382class DLL_API InterfaceTester
You can’t perform that action at this time.
0 commit comments