GNOME Bugzilla – Bug 602818
C# files starting with 'namespace' is not parsed
Last modified: 2009-12-30 13:39:04 UTC
Created attachment 148378 [details] A C# Console Application and a doxygen config file. Documentation will not be generated for *.cs files with the namespace word in the top of the file, eg: namespace ConsoleApplication1 { .... CODE } Adding a dummy comment or just a line break in the top of the file will cause the documentation for the file to be generated, eg: /***/ namespace ConsoleApplication1 { .... CODE } NB! This works in version 1.5.5, but NOT in the 1.6.1 version. To reproduce: * Unzip the attached console application. * Run doxygen.config with version 1.6.1 * Open /doc/html/index.html * Verify that NO documentation is generated. * Add a line break before namespace in Program.cs * Run doxygen.config * Open /doc/html/index.html * Verify that documentation is generated for the Program class
The problem is caused by the "byte order mark" in the file (the file starts with bytes EF BB BF to indicate it is a UTF-8 file, doxygen's did not strip these bytes and as a result the parsing of the first line could be wrong). I'll fix this in the next release.
*** Bug 605659 has been marked as a duplicate of this bug. ***
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.2. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).