Bug 150988

Summary: Patch: Correct C# constructors (no return type)
Product: [Applications] umbrello Reporter: Ferenc Veres <lion>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.0.0
Sentry Crash Report:
Attachments: C# code generator constructor won't add return type

Description Ferenc Veres 2007-10-18 17:19:35 UTC
Version:           SVN 3.5 trunk (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

I'll attach a patch file, which removes return type from C# code generator's constructor and destructor (using ->isLifeOperation() call). (Once I can pass this long bug report wizard. :-) )

The bug was: constructors had a return type, 'void' when not specified, which is incorrect.
Comment 1 Ferenc Veres 2007-10-18 17:22:16 UTC
Created attachment 21851 [details]
C# code generator constructor won't add return type

Please check if the file was created from the correct directory using svn diff.
This is for 3.5 trunk.
Comment 2 Oliver Kellogg 2007-10-23 21:22:03 UTC
SVN commit 728591 by okellogg:

writeOperations(): Attachment 21851 [details] from Ferenc Veres suppresses the
 return type on constructors. Thanks Ferenc for the fix.
BUG:150988


 M  +8 -6      csharpwriter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=728591
Comment 3 Ralf Habacker 2013-11-06 17:34:57 UTC
set version-fixed-in from 4.0.0 changelog