After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612609 - Raw strings in C# cause corruption in documentation
Raw strings in C# cause corruption in documentation
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.6.2
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-03-11 17:54 UTC by Richard Wolf
Modified: 2010-06-15 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Richard Wolf 2010-03-11 17:54:44 UTC
Using raw strings (prefixed with @) in a method body causes corruption in the documentation of class fields defined after the method body.

Here is a minimal test case. It was documented using the default "doxygen -g" configuration.

<Begin test case>
class foo
{
   public foo()
   {
      string bar = @"xxx";
   }
   public string baz = "baz";
   public string ap = "ap";
}
<End test case>

The generated documentation contains:

Public Attributes
string 	baz = xxx" "baz"
string 	ap = "ap"

The "xxx" is the contents of theraw string declared in a method.

It ought to just be: 

Public Attributes
string 	baz = "baz"
string 	ap = "ap"

Found in doxygen 1.6.2 on Windows Vista SP1 64 bit.
Comment 1 Dimitri van Heesch 2010-03-20 17:55:17 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-15 11:22:20 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.